This project has been generated using the aws-nodejs-typescript
template from the Serverless framework. It responsible for serving the REST endpoints to handle creating alert for defined price point
Project is live at: https://1qehdty5i5.execute-api.ap-southeast-1.amazonaws.com
Requirements:
- NodeJS
lts/fermium (v.14.15.0)
. Make sure Node version in local is same with this version. - Serverless Framework CLI.
$ npm install
Project will be running at http://localhost:5020. Make call to /dev
path to acccess the serverless endpoints
# development
$ serverless offline start
Check out the test.sh
in scripts folder for mock test. You can also use curl to make HTTP request to available endpoints
However, this instance is attached to production DB, any local test will reflect in production
Make sure these services are all up before trying to run in your local
- MongoDB Atlas