I would like to know if I can allow end users of my app to define a schema and then create corresponding collection on the server.
I would then like to run code that finds all collections and creates an interface based on each collection’s schema.
My interface has a form to create a new interface.
User creates collection named “cow” with fields: race, weight, age.
Then I have something generic that finds that new collections among the list of collections (chickens and cows), and generates an interface accordingly for each one. The interface will be a create read update delete (CRUD) thing, generated for each collection.
I created an interface for a collection i already made, I want something that lets users create collections.
This is what I would like to do. Is it possible? Am I thinking of this in the wrong way?