compass
compass copied to clipboard
Initialize Web Sockets
Story
As a user, I want my data to accurately reflect the state of my calendar in Compass's / Google's Database.
Implementing
Establishing a bi-directional connection between client and server will make it possible for the client to respond to server changes, like calendar events or server errors
- [ ] Pick websocket library
- [ ] Install
- [ ] Validate connection logic in tests
- [ ] Establish bi-directional connection to each client
- [ ] Prove connection works by logging a simple message, 'Connected to client: {clientId}'
How relevant messages are handled will be followed-up in a future PR