- An endpoint for passenger websocket connections
- Authenticate passengers through backend-api
- Communication intermediary for passenger devices and backend
- Downstream driver gps and channel events
- Provide a current snapshot of drivers from the backend server
- Kalo-backend-API - https://github.com/kalo-realtime/backend-api
- ZMQ - http://zeromq.org
- Node - https://nodejs.org/en/download
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
- Test suite