Skip to content

kalo-realtime/passenger-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WebSocket endpoint for passengers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published