Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top