This is a proof-of-concept app which utilizes the following projects/technologies.
- NestJS - NodeJS Framework.
- Serverless - Build applications with serverless architectures using AWS Lambda.
- CosmosDB - Azure Cosmos DB is Microsoft’s globally distributed, multi-model database service for operational and analytics workloads.
Technology | Progress |
---|---|
NestJS | PoC Done |
Serverless | PoC Done |
CosmosDB | Not Started |
docker-compose
- It would be good to have it for local development.- This would be a good alternative since
serverless offline
does not support hot-reload (at least the way it's implemented right now in this repo). This should consider the use ofoffline CosmosDB
?
- This would be a good alternative since
CosmosDB
- Add support inserverless
YAML fileresources
section?Swagger/openapi
- Investigate how to auto-generate it with decorators, etc. (We should not think about maintaining it manually).Stages
- Configure various deployment stages likedev
,stg
,prd
.Routing
- Configure domain routing, etc. viaserverless
resources (we do not needterraform
if we can do all config viaserverless
YAML.)CircleCI
- AddCI/CD
support.DynamoDB trigger -> GCP BigQuery (or AWS redshift) for Data Analysis
SMS auth (encrypt phone number if possible)
- Please investigate only the encryption part, auth will be taken care of by Primary Tasks.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ npm run sls-offline
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov