katerinalev1992 / PublicTransportAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transport API

To build the application perform:

  1. npm i
  2. npm run build

To run application and get response from REST API type:

npm start

Server will listen the port 8080.

Test request: http://localhost:8080/union_station

alt text

To run the app using command line type:

npm run build npm i -g publictransportapi --help

alt text

Example command line operations:

publictransportapi getAllStopInfo2 union_station

alt text

publictransportapi getAllStopInfo

alt text

About


Languages

Language:TypeScript 100.0%