You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overall it's very good and you have followed proper protocol. This can be improved further by
Routes - This is where you handle get/post requests, this is then forwarded to the controllers
Models - one file per resource (eg. UserModel.js for interacting with my 'user' table/collection/whatever in my database); all my data models that depend on the db connection object.
Controllers - one file per resource (eg. UserController.js for all route functions for users); all my code that serves my routes
The text was updated successfully, but these errors were encountered:
Overall it's very good and you have followed proper protocol. This can be improved further by
Routes - This is where you handle get/post requests, this is then forwarded to the controllers
Models - one file per resource (eg. UserModel.js for interacting with my 'user' table/collection/whatever in my database); all my data models that depend on the db connection object.
Controllers - one file per resource (eg. UserController.js for all route functions for users); all my code that serves my routes
The text was updated successfully, but these errors were encountered: