{"id":13471017,"url":"https://github.com/aws-samples/eb-node-express-sample","last_synced_at":"2025-03-26T13:30:43.025Z","repository":{"id":35528200,"uuid":"39798975","full_name":"aws-samples/eb-node-express-sample","owner":"aws-samples","description":"Sample Express application for AWS Elastic Beanstalk","archived":false,"fork":false,"pushed_at":"2023-04-10T22:55:20.000Z","size":308,"stargazers_count":281,"open_issues_count":15,"forks_count":249,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-10-30T02:58:02.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-07-27T21:31:56.000Z","updated_at":"2024-08-06T23:04:17.000Z","dependencies_parsed_at":"2024-01-02T21:57:53.345Z","dependency_job_id":"f330ece7-c924-4967-b693-4e02757001ba","html_url":"https://github.com/aws-samples/eb-node-express-sample","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Feb-node-express-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Feb-node-express-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Feb-node-express-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Feb-node-express-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-samples","download_url":"https://codeload.github.com/aws-samples/eb-node-express-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245662709,"owners_count":20652068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:38.498Z","updated_at":"2025-03-26T13:30:42.610Z","avatar_url":"https://github.com/aws-samples.png","language":"EJS","funding_links":[],"categories":["EJS","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# AWS Elastic Beanstalk Express Sample App with Dynamo\nThis sample application uses the [Express](https://expressjs.com/) framework and [Bootstrap](http://getbootstrap.com/) to build a simple, scalable customer signup form that is deployed to [AWS Elastic Beanstalk](http://aws.amazon.com/elasticbeanstalk/). The application stores data in [Amazon DynamoDB](http://aws.amazon.com/dynamodb/) and publishes notifications to the [Amazon Simple Notification Service (SNS)](http://aws.amazon.com/sns/) when a customer fills out the form.\n\nThis example cannot be run locally.\n\nYou can get started using the following steps:\n  1. Install the [AWS Elastic Beanstalk Command Line Interface (CLI)](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html).\n  2. Add policies to the [default instance profile](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-instanceprofile.html) to grant the EC2 instances in your environment permission to access DynamoDB and Amazon SNS:\n      - Open the [Roles](https://console.aws.amazon.com/iam/home#roles) page in the IAM console.\n      - Choose `aws-elasticbeanstalk-ec2-role`.\n      - On the Permissions tab, choose Attach policies.\n      - Select the managed policy for the additional services that your application uses. For this specific example, add `AmazonSNSFullAccess` and `AmazonDynamoDBFullAccess`.\n      - Choose Attach policy.\n  3. Run `eb init --platform node.js --region \u003cregion\u003e` to initialize the folder for use with the CLI. Replace `\u003cregion\u003e` with a region identifier such as `us-east-2` (see [Regions and Endpoints](https://docs.amazonaws.cn/en_us/general/latest/gr/rande.html#elasticbeanstalk_region) for a full list of region identifiers). \n  4. Run `eb create --sample nodejs-example-express-dynamo` to begin the creation of a sample application that contains a load-balanced environment with the default settings for the Node.js platform.\n  5. Once the environment creation process completes, run `eb open` to load the sample environment in your browser to verify the deployment has succeeded and is accessible.\n  6. Deploy the source in this bundle using `eb deploy`.\n  7. Once the deployment of this source bundle completes, run `eb open` to interact with the new webpage.\n  8. Run `eb terminate --all` to clean up.\n\n\n## Themes\nThe code includes several Bootstrap themes from [bootswatch.com](http://bootswatch.com/). You can dynamically change the active theme by setting the THEME environment variable in the [Elastic Beanstalk Management Console](https://console.aws.amazon.com/elasticbeanstalk):\n\n![](misc/theme-flow.png)\n\nInstalled themes include:\n\n* [amelia](http://bootswatch.com/amelia)\n* [default](http://bootswatch.com/default)\n* [flatly](http://bootswatch.com/flatly)\n* [slate](http://bootswatch.com/slate)\n* [united](http://bootswatch.com/united)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Feb-node-express-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-samples%2Feb-node-express-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Feb-node-express-sample/lists"}