Skip to content

nanoMFG/gr-resq-webapp-backend

Repository files navigation

gr-resq-node-backend

Local Development

With Docker

Prerequisites:

  • Local install of Docker.
  • Local install of the aws-cli

Note, if using Windows, this has only been tested in WSL environments.

  1. Start local dynamodb container
    docker run -p 8000:8000 amazon/dynamodb-local
  2. Copy Environment default environment variable assignments to .env-development:
    cp .env.template ./.env.development
  3. Initialze database:
    node utils/setupDb.js
    (you may want to list tables with aws cli at this point*)
    Will be useful to develop tests that can load user data.
  4. Start node app: node app.js

*Listing local dynamodb tables with aws cli
aws dynamodb list-tables --endpoint-url http://localhost:8000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published