I am new to Derby Js. How and where to create routes to controllers. 2- How to create Foo, Bar controllers in 'controller' folder and Foo, Bar models in 'model' folder and how to call the models in controllers.
Thanks in advance
I am new to Derby Js. How and where to create routes to controllers. 2- How to create Foo, Bar controllers in 'controller' folder and Foo, Bar models in 'model' folder and how to call the models in controllers.
Thanks in advance
Copyright © 2021 Jogjafile Inc.
You probably came from Ruby or another similar MVC framework. Thing a little bit different in Derby. I advice you to:
1. Read tutorials and FAQ: https://github.com/vmakhaev/derby-docs
2. Make an app with 'derby new myapp' and play with it
3. Take a look at examples: https://github.com/codeparty/derby-examples