Skip to content

Simple Nodejs app with Express, containerized with Docker. Implements AWS SDK, Stripe and Dynamoose ORM for DynamoDB.

Notifications You must be signed in to change notification settings

jeremytanes/is458-backend

Repository files navigation

is458-backend

Running with Docker

Build the Docker image and run the container:

docker build . -t <your username>/is458-backend
docker run -p 8080:8080 -d <your username>/is458-backend

To print logs from container to check that it is running:

# Get container ID
docker ps

# Print app output
docker logs <container id>

# Example
App listening on port 8080

To stop the container:

docker stop <container id>

Running without Docker

npm install
npm start

Testing with Docker

Testing is integrated when building the image which includes running npm test for all test files under the test folder (mocha test/**/*.js)

About

Simple Nodejs app with Express, containerized with Docker. Implements AWS SDK, Stripe and Dynamoose ORM for DynamoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •