Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create new structure with routes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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