ntu-shuttle-bus-api
documentation: https://documenter.getpostman.com/view/3827865/UVsHV8qv
api url: https://n784k2f6s0.execute-api.ap-southeast-1.amazonaws.com/prod
- install yarn
- install node (v16+)
- install serverless
// test api in local
$ yarn run dev
// deploy to serverless
$ yarn run deploy
// open serverless dashboard
$ yarn run dashboard
// lint code
$ yarn run lint
// format code
$ yarn run format
// run test case
$ yarn run test
// remove serverless services in aws (api gateway, lambda, s3, cloudformation)
$ yarn run remove