-
Notifications
You must be signed in to change notification settings - Fork 0
Schema/API Design Comments (Jose Espinoza) #11
Copy link
Copy link
Open
Description
joseespinoza15432
opened on Nov 12, 2024
Issue body actions
- add default values for frequency enum if possible. Potentially add a description to clarify the use more
- potentially simply some of the constrains for clarity
- add foriegn keys where applicable. I.E. if roomates or bills have a necessary relationship with each other
- add default value for for duration_mins
- In the api, describe eorror scenarios like 400 for bad requests etc.
- In post/put endpoints, describe stricter validation fields like the frequency must match the enum value
- Ensure proper status codes for the endpoints.
- Ensure correct json response fields
- RESTful naming convetions for the endpoints like POST /create_chore
- Add unique constraints where you can to avoid duplicates
- Add timestamps to track when records have been made or modified. Also include deletion timestams
- Add composite keys where aplicable in supabase
- normailze naming convention for the table definitions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels