Code Orgainzation

MSC Model

We have a slightly different take on the traditional MVC model, called MSC. We use services to handle API-specific business logic, like saving through the admin SDK and, in the case of PoPs, verifying geolocation.

Models encapsulate the schema and type definitions as well as data transformations of the model layer.

Controllers handle incoming parameters and outgoing responses to the client and delegate to models and services for business logic.

Last updated