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

[2pt] Recipe Food MVC (Team Member 1) #6

Closed
Baayeh opened this issue Feb 6, 2023 · 0 comments · Fixed by #21
Closed

[2pt] Recipe Food MVC (Team Member 1) #6

Baayeh opened this issue Feb 6, 2023 · 0 comments · Fixed by #21
Assignees

Comments

@Baayeh
Copy link
Collaborator

Baayeh commented Feb 6, 2023

Generate Model, Views and Controller for RecipeFood

Model

  • Create model classes for the recipe_food as shown in the ERD diagram.
  • Set up associations.
  • Create and run the necessary migration files.
  • Table and column names should match the ERD diagram.
  • Foreign keys should be included.
  • All columns that are foreign keys should have a corresponding index.
  • Add validations
  • Add unit specs for all of the recipe_food methods and validations.

Controller

  • Create a controller for the recipe_food model.
  • Add routes for the actions defined in the controller.
  • Create a Request spec file for the controller.

Views

  • Create views for each action specified in the controller.
@Baayeh Baayeh self-assigned this Feb 6, 2023
@Baayeh Baayeh linked a pull request Feb 7, 2023 that will close this issue
4 tasks
@Baayeh Baayeh closed this as completed in #21 Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant