https://github.com/kaungmyathan22/elastic-beanstalk
Deploying nodejs app to aws using codepipeline
https://github.com/kaungmyathan22/elastic-beanstalk
aws codepipeline elasticbeanstalk nodejs
Last synced: 3 months ago
JSON representation
Deploying nodejs app to aws using codepipeline
- Host: GitHub
- URL: https://github.com/kaungmyathan22/elastic-beanstalk
- Owner: kaungmyathan22
- Created: 2023-11-01T06:55:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-01T07:24:50.000Z (over 1 year ago)
- Last Synced: 2024-12-30T00:27:33.191Z (5 months ago)
- Topics: aws, codepipeline, elasticbeanstalk, nodejs
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy to AWS Elastic Beanstalk with Node.js & MongoDB
### This project is for use on AWS Elastic Beanstalk.
[Contact me](https://www.aaronwht.com) if you run into problems using this repo or tutorial.
The `.npmrc` file fixes permission issues for the `NPM sharp` package and other packages which require elevated permissions, setting the 'unsafe-perm' flag to `true`. Several packages are included in the `package.json` file which are not being used in this project to demonstrate the deployment works for image upload/resizing packages.
Running this code locally requires that you add a `.env` file at the root of your project with a `DB` environment variable pointing to your local MongoDB instance. Example: `DB=mongodb://localhost:27017/restful?retryWrites=true`
[](http://www.youtube.com/watch?v=GbudiCx_t9M)