We'll need to scaffold out an initial application server. Let's list/discuss the MVP specs here.
Routes
Frontend Static assets
GET /
- Serves the assets (JS, HTML, CSS, etc) to run the frontend application
REST endpoints [TODO]
- Routes:
[GET, POST, PUT, DELETE] /api/:apiVersion/:resource
- Any necessary CRUD operations
- Creating a new Jam Session
- TODO more resources
Websocket services
Jam Session MIDI communication
GET /ws/jam/:sessionId
This endpoint is used for transmitting MIDI and other Jam Session-specific messages between musicians
WebRTC Signalling Service
GET /ws/signal/:sessionId
This service handles signaling to initialize WebRTC connections between peers in a specific Jam Session
We'll need to scaffold out an initial application server. Let's list/discuss the MVP specs here.
Routes
Frontend Static assets
GET /REST endpoints [TODO]
[GET, POST, PUT, DELETE] /api/:apiVersion/:resourceWebsocket services
GET ws://[appRoot]/wsJam Session MIDI communication
GET /ws/jam/:sessionIdThis endpoint is used for transmitting MIDI and other Jam Session-specific messages between musicians
WebRTC Signalling Service
GET /ws/signal/:sessionIdThis service handles signaling to initialize WebRTC connections between peers in a specific Jam Session