Skip to content

singapore bus arrival times api (新加坡巴士到站時間Api)

License

Notifications You must be signed in to change notification settings

yeukfei02/singapore-bus-arrival

Repository files navigation

singapore-bus-arrival

singapore bus arrival times api (新加坡巴士到站時間Api)

documentation: https://documenter.getpostman.com/view/3827865/TVeiDBKg

api url: https://73ddoqlmy0.execute-api.ap-southeast-1.amazonaws.com/prod/

Requirement

  • install yarn
  • install node (v14+)
  • install serverless

Testing and run

// 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