Skip to content

BSAMobileTeam/RapLand-BackEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RapJeuBackend

BackendService for RapJeu

Commands

To install the dependencies use:

$ npm install

To start the service use:

$ npm start

Environment variables

The configuration is done through the environment variables. It can also be done within a .env file.

See config.js for more details.

Variable Description Type
API_KEY API key (for administrators only) String
ACCESS_TOKEN_SECRET Secret access token String
DEFAULT_MIXED_ARRAY_LENGTH Default length for mixedArray received by users Number
GET_MIXED_ARRAY_MAX_EXECUTION_TIME_MS Maximal execution time (in milliseconds) for the getMixedArray controller method Number
LOG_LEVEL Log level (using log4js) for Sequelize log String [off, fatal, error, warn, info, debug, trace]

Database

You can use Docker Compose to create a development database using:

$ docker-compose -f docker/postgres/docker-compose.yml up -d

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published