Giter VIP home page Giter VIP logo

mini-app's Introduction

Sescmaster

Up project

  • make sure u install docker
  • set vars
cp .env.example .env
  • up docker containers
docker compose up

Environment

This is an example .env file:

PORT=4000

SESC_REQUEST_LOCK_DELAY=10000

SCHEDULES_MAX_PARALLEL_REQUESTS=10

GRAPHQL_LANDING_PAGE=playground

SCHEDULING_TZ=Asia/Yekaterinburg

PORT

This variable specifies port, on which server will listen. Default value is 4000.

SCHEDULES_TYPE_DELAY

This variable specifies delay in milliseconds between several requests for schedules of weekday with different types. If it`s not defined, delay will not occur.

SCHEDULES_MAX_PARALLEL_REQUESTS

This variable specifies max parallel requests when getting a schedule in schedulesUpdater. If defined value less than 1, value will be forced to 1. Default value is 10.

GRAPHQL_LANDING_PAGE

This variable specifies landing page of graphql endpoint. If it is set playground, on endpoint in browser will be GraphQL Playground page, otherwise nothing.

SCHEDULING_TZ

This variable specifies timezone for schedules of updaters. Default is Asia/Yekaterinburg, because of SESC UrFU location.

mini-app's People

Contributors

cmdformatc avatar fede4ka1245 avatar lukramancer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.