- Serverless Application
- Users can register, login and view their profile
- User register and login
- User verfication with OTP/SMS
- Node.js
- Typescript
- AWS Lambda
- Serverless Framework
- PostgreSQL
- REST API
- Docker
-
- AWS CodePipeline (CI/CD)
- AWS Parameter Store
Install dependencies:
npm install
deploy locally:
make start_db # start Docker with PostgreSQL
npm run dev
deploy locally and generate swagger:
make start_db # start Docker with PostgreSQL
npm run start
swagger will be available at https://{base-url}/swagger
deploy to the cloud manually:
npm run deploy
- Push your changes and merge the branch into
master
. - CodeBuild pulls the changes and uses
buildspec.yml
to create a new build. CodeDeploy deploys the new build.