You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every controller has at least two files: server.js and client.js. These are responsible for handling the server / client side of the communication, respectively.
Inside each controller's server definition, routes and post_routes maps URLs to function handlers for those routes, when they are retrieved off the server.
The server side handlers use the core libraries for pages, components and templates to send a fully constructed app down to the client. This app will run client.js and maintain communication with server.js through sockets.