- AWS CLI already configured with Administrator permission
- Git installed and configured
- NodeJS 12+ installed
- Docker installed
- Create an S3 bucket
aws s3 mb s3://bootcamp-starter-kit-$USER
Note: For Windows environments, you may use the following powershell command
aws s3 mb s3://bootcamp-starter-kit-$env:UserName
- Deploy the infrastructure
make infra
Note: For Windows envirnonments, you may use the following powershell command
cd .\infrastructure\ && ./deploy.ps1
- Add a new git remote and point it at the CodeCommit repo created by
make infra
git remote add codecommit <codecommit-clone-url-http>
- Push your changes and the pipeline should kick off a build
git push -u codecommit main
Please refer to the troubleshooting section for help with setting up authentication and authorization
- Run the unit tests
make test
- Hope they work!
- Install npm dependencies
npm install
- Start up the dev server
make dev
-
Write code, it will be automatically recompiled on save.
-
Test your work at the address returned
- Start the service
make swagger-start
-
Point your browser to http://0.0.0.0:8080
-
When done, stop the service
make swagger-stop
If you face the The requested URL returned error: 403
error while performing git operations:
-
Check if your AWS account user being used has the following 3 permissions:
- AWSCodeCommitFullAccess
- AWSCodeCommitPowerUser
- AWSCodeCommitReadOnly
-
Make sure git credentials are setup properly as described here