The Loopback application mentions the built-in application model.
This page says: "contains metadata for a client application that has its own identity and associated configuration with the LoopBack server."
When you click on the link page, he further clarifies:
Application model
Use the Application Model to manage client applications and organize their users.
The default model definition file is common / models / application.json in the LoopBack repository.
The first link in this section, I think, is incorrect, because it refers to the shell of the Express application, and not to the model instance.
The second link describes the attributes of the model. Things like ownership, areas (which are mentioned in the Users context), and various other settings are mentioned here.
The application model is mentioned in several places in the documentation, but does not really explain how to use it.
How to access the application model in the application?
Where are all the attributes defined in your application?
Do you have multiple instances of the application and why?
I hope that this is not perceived as a subjective topic, I really only after the best documentation on this topic.
source
share