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

Feat/API-Product #18

Merged
merged 5 commits into from
Apr 1, 2024
Merged

Feat/API-Product #18

merged 5 commits into from
Apr 1, 2024

Conversation

rayzhuca
Copy link
Member

@rayzhuca rayzhuca commented Mar 8, 2024

Description

Create Product model and CRUD operations

Issue

Closes #7

@rayzhuca rayzhuca linked an issue Mar 8, 2024 that may be closed by this pull request
1 task
Copy link
Contributor

@brandonw504 brandonw504 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few things:

  • Rename Product.ts to Products.ts in services, since we want to keep them plural
  • Run the migration (should show up in your commit in the migrations folder)
  • Remember to test your CRUD operations in the playground
  • Maybe make description and details nullable (@Austin2Shih thoughts?)

@rayzhuca
Copy link
Member Author

Tested ✅

@Austin2Shih
Copy link
Contributor

@brandonw504 final review and merge if good :)

@brandonw504 brandonw504 merged commit c59de61 into main Apr 1, 2024
1 check passed
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.

API: Product
3 participants