Skip to content

Conversation

@CarlosZiegler
Copy link

[ ] Create a unique file "routes.js" for all routes.
[ ] Create a Controller path for all controllers and then use the controllers as Middleware and for each contrllers allows only methods:
-store for create
-index for get all registers
-show for get specific register
-destroy for delete specific register
-update for update a specific register

@CarlosZiegler
Copy link
Author

CarlosZiegler commented Sep 20, 2020

Exmaples to use the MVC Controller Pattern:
By Academind: https://youtu.be/ucuNgSOFDZ0
or
https://www.youtube.com/watch?v=z1Z1FZNW4rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant