Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1004 Bytes

README.md

File metadata and controls

49 lines (34 loc) · 1004 Bytes

Passenger service endpoint

Responsibilities

  1. An endpoint for passenger websocket connections
  2. Authenticate passengers through backend-api
  3. Communication intermediary for passenger devices and backend
  4. Downstream driver gps and channel events
  5. Provide a current snapshot of drivers from the backend server

Installation

Key Dependencies

Build Steps

1. Clone the library.

  git clone [email protected]:kalo-realtime/passenger-service.git

2. Install dependencies.

  cd passenger-service/
  npm install

3. Configure backend API key and other configurations in config/default.json.

4. Make sure the backend API is running and no other service is running on defined ports for zmq sockets.

5. Start the server

  npm start

TODO

  • Test suite