To create a Model click on the model icon on the entity palette:
If you’re familiar with the Model-View-Controller pattern, Models in Express Serverless Platform are exactly the
MVC. For folks who are more backend, a model is very much like a data access object.
After creating a Model in the private quadrant, you’ll be ready to enter properties with a property name and property type while in Quick Edit mode. To enter quick edit mode for a Model, click the pencil Quick Edit icon on the Model, by hovering over its title bar to display the context menu.
Models have advanced functionality that can be access through its Details. To access a Model’s Details, hover over the title bar to display the context menuu and chose the ellipses icon.
Models details expose things like relationships, connector metadata, user defined fields, and other advanced functionality.
Express Serverless Platform provides a GUI experience to help you get started and gives you have complete control once you become a more advanced user. For more information on advanced features and customizing Models programatically through code refer to the LoopBack model documentation.
Once a Model is connected to a Connector it will automatically generate a REST interface and corresponding Swagger/OpenAPIv2 specification and with fully functional endpoints.
The REST Generation is not only automatic by dynamically updated as you edit your Model.
Click on the gear icon in the right hand toolbar to actiave the Settings Panel.
Visit the URL listed for the API Explorer to try out the REST API.