This is the server side code for the prayer app.
- node and npm
- mongodb
The following environment variables are needed for the api to work:
DB_CONNECTION
JWT_PRIVATE_KEY
MAIL_EMAIL
MAIL_USERNAME
MAIL_PASSWORD
- Run
npm installto install server dependencies - Run
mongodin a separate shell to keep an instance of the mongodb daemon running - Run
node index - Run
eslint src configto lint code
- Run
npm run build (version_number) - Create a new revision of task definition in aws ecs management console.
- Update cluster service in aws ecs management console.
- emptry string is not considered a valid string by hapi's joi