|
|
|
@ -3,18 +3,8 @@
|
|
|
|
|
This is a **real-time** websocket service for handling live updates of stream data. This includes basic token authentication
|
|
|
|
|
through the CMS for creating/updating data.
|
|
|
|
|
|
|
|
|
|
## Todos
|
|
|
|
|
## Instructions to deploy
|
|
|
|
|
|
|
|
|
|
- [x] data
|
|
|
|
|
- [x] create migrations with stream consideration
|
|
|
|
|
- [x] read from db
|
|
|
|
|
- [x] create data
|
|
|
|
|
- [x] update data
|
|
|
|
|
- [x] delete data
|
|
|
|
|
- [x] websocket
|
|
|
|
|
- [x] create ws server
|
|
|
|
|
- [x] handle events
|
|
|
|
|
- [x] authentication
|
|
|
|
|
- [x] create collection
|
|
|
|
|
- [x] figure out auth
|
|
|
|
|
- [x] casters and hosts stuff
|
|
|
|
|
1. Copy `env.example` as `.env` and fill in the details (make sure `NODE_ENV` is set to production)
|
|
|
|
|
2. Run `npm i`
|
|
|
|
|
3. Expose port 5000 or use a reverse proxy which supports WebSockets
|