Pregunta

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

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top