Skip to content

ford-prior/eb-node-express-signup

 
 

Repository files navigation

eb-node-express-signup

This Node.js sample application uses the Express framework and Bootstrap to build a simple, scalable customer signup form that is deployed to AWS Elastic Beanstalk. The application stores data in Amazon DynamoDB and publishes notifications to the Amazon Simple Notification Service (SNS) when a customer fills out the form.

Themes

The code includes several Bootstrap themes from bootswatch.com. You can dynamically change the active theme by setting the THEME environment variable in the Elastic Beanstalk Management Console:

Installed themes include:

app_config.json

The application stores connection info in a JSON file, app_config.json. The key-value pairs are as follows:

  • AWS_REGION: the AWS region code, e.g. 'us-west-2'
  • STARTUP_SIGNUP_TABLE: the name of the DynamoDB table where the app stores signup data (e.g. 'my-ddb-table')
  • NEW_SIGNUP_TOPIC: The ARN of the SNS topic that the app uses to send notifications (e.g. 'arn:aws:sns:us-west-2:123456789012:my-supercool-app')

Currently, the values are set to empty strings. You'll need to enter appropriate values for your environment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 73.4%
  • JavaScript 26.6%