A site with as little cruft as possible to not make things complex client-side.
- Bootstrap 4
- jQuery (for free and not by choice)
- Pub/Sub
- Controllers
- Client
- Util
There is no direct contact between UI and events. These are managed throught the Pub/Sub
All controllers subscribe to Pub/Sub events where all UI manipulation is handled
Functions for talking to the back-end. Client must be kept clear of UI interaction
Straight forward helper functions
Example response:
{
"success": [true|false],
"data": <result object>
}