WatchIT server side application is resposible to send play data to a mobile device (filtering, auth)
Working Demo URL: https://watchit-eu.herokuapp.com/
Windows Client | Android Client
WatchIT server uses Firebase Cloud Messaging so it requires firebase.json in the root of the project. You can generate the file from: Your Firebase Project > Project Settings > Service accounts
Install dependencies:
$ npm install
Run the app:
$ npm start
All routes with access restriction require bearer token as authorization header:
Authorization: Bearer [token]
- Server root :
GET /
- Login :
POST /api/v1/users/login
- Sign Up :
POST /api/v1/users/signup
- All devices :
GET /api/v1/devices
- Add device :
POST /api/v1/devices
- Get a device :
GET /api/v1/devices/:deviceId
- Update FCM token :
PATCH /api/v1/devices/:deviceId
- Stream media :
POST /api/v1/play