Source code for How To Start Typescript + Node AWS Function With ServerlessJS?
- Install dependencies
npm ci
- Run unit test
npm run test
- Start dev server
npm run offline
- Play
curl --location --request POST 'localhost:3000/hello' \
--header 'Content-Type: application/json' \
--data-raw '{ "name": "hoangdv" }'