Skip to content

MatthewShortt/aws-node-elastic-beanstalk

Repository files navigation

Build Status Coverage Status

AWS Elastic Beanstalk Express Sample API

This sample application uses the Express framework to build a simple, scalable RESTful API that is deployed to AWS Elastic Beanstalk. The application stores data in Amazon DynamoDB and publishes notifications to the Amazon Simple Notification Service (SNS).

The API can be found here: API

Local Development

To develop locally this project uses LocalStack to mock the various AWS services. For installation instructions please follow the installation guide: Install LocalStack.

The configuration for these endpoints are handled in the .env file

Available Scripts

In the project directory, you can run

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm test

Launches the tests once. Unit tests are run with Mocha and Sinon.

npm run test-watch

Launches the tests in watch mode.

npm run coverage

Launches the tests in coverage mode using Instanbul.

npm run localstack

Runs LocalStack. Spins up the mocked AWS services (eg. S3 can be found at http://localhost:4572)

About

This project uses Amazon Web Services Elastic Beanstalk environment configured with node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published