dimitriosxmi / ArtistsReferenceOrganizer

Neue Fische Capstone Project
https://artists-reference-organizer.vercel.app
0 stars 0 forks source link

Feature/us12/create entry more fields #30

Closed dimitriosxmi closed 1 year ago

dimitriosxmi commented 1 year ago

Please take a moment to review this ❤️ 😊

This is a larger PR but it's mostly well documented 😉

Goal: US12 TL; DR: New entry add form has more input fields, including a tag creation/ selection/ and deletion subform. Everything should work as expected. The data eventually lands in the database like this: Screenshot_7

Deployment

+ Add Tag model

+ Add tag.js api page
# Handles the POST method for posting a new tag.
# Handles the DELETE method for deleting a tag by id.

+ Add tags.js api page
# Handles the GET method for getting all tags.

! Update Entry model
# Uses apropriately the Tag model for the entryTags field.

! Update entry.js api page
# Populates the entry tag property.

! Update entries.js api page
# Populates the entry tag property.

! Update NewEntryForm component
# Now has a Reference Link Input.
# Now has a Description Input.
# Now has a Tag Section with:
# tag select/ deselect,
# tag deletion,
# tag creation.
Danielschuetzle commented 1 year ago

nice implementation, LGMTM 👍🏻