Skip to content

johnlee1/hana-api

Repository files navigation

hana api

This is the server side code for the prayer app.

prerequisites

  • node and npm
  • mongodb

setup

The following environment variables are needed for the api to work:

DB_CONNECTION
JWT_PRIVATE_KEY
MAIL_EMAIL
MAIL_USERNAME
MAIL_PASSWORD

developing

  1. Run npm install to install server dependencies
  2. Run mongod in a separate shell to keep an instance of the mongodb daemon running
  3. Run node index
  4. Run eslint src config to lint code

deployment

  1. Run npm run build (version_number)
  2. Create a new revision of task definition in aws ecs management console.
  3. Update cluster service in aws ecs management console.

gotchas

  • emptry string is not considered a valid string by hapi's joi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages