First copy the .env.example to .env and modify the environment variables with your values.
$ cp .env.example .envDEBUG=nodejs-fsbt-04-2018:*
MONGO_URI_CONNECTION=mongodb://host/database
SESSION_KEY=secret
JWT_SECRET_KEY=secret
JWT_EXPIRES_IN=3600000 # Expire token time in miliseconds
# Firebase
FIREBASE_APIKEY=API_KEY
FIREBASE_AUTHDOMAIN=AUTHDOMAIN
FIREBASE_DATABASEURL=DATABASEURL
FIREBASE_STORAGEBUCKET=STORAGEBUCKET
FIREBASE_SENDERID=SENDERID# Install dependencies
$ yarn install
# Start serve
$ yarn dev# Install dependencies
$ yarn install
# Start production
$ yarn startFor any feedback contact me [email protected].
Created with love and other things ❤️