/uade-movie-api

UADE | 2020 | Distribuidas | Movie backend API

Primary LanguageJavaScript

Continous Integration

uade-movie-api

UADE | 2020 | Distribuidas | Movie backend API

Site: uade-movieapp-g5-api-dev.herokuapp.com

API powering the best UADE Movie Mobile app ever.

Main scripts

Run the app

node app.js

Automatic Lint fixes

npm run lint-fix

Display Lint errors

npm run lint

Local setup

Add a .env file on the root folder with the following content:

DB_CONNECTIONSTRING=<mongodb-connection-string>
PORT=<port>
ERRORS_DETAILED=true
JWT_EXPIRATION=<expiration-in-seconds>
JWT_SIGNKEY=<jwt-sign-key>
CRYPTO_KEY=<crypto-key>
CRYPTO_ALG=<crypto-algoritm>