Razew / suvnet23-household-backsidegang

Hushållet - Inlämningsuppgift 2, Apputveckling
2 stars 0 forks source link

Mock data #14

Closed 88jonhan closed 1 month ago

88jonhan commented 1 month ago

Need initial data to work with, 1-2 households with chores, a couple of users with different roles and assigned to the different households

frankenwino commented 1 month ago

Suggestion for DB schema & mocked data. Need to decide on the storage / auth solution though.

https://github.com/Razew/suvnet23-household-backsidegang/wiki/Local-Supabase-Dev-Instance#create-seed-files

88jonhan commented 1 month ago

Suggestion for DB schema & mocked data. Need to decide on the storage / auth solution though.

https://github.com/Razew/suvnet23-household-backsidegang/wiki/Local-Supabase-Dev-Instance#create-seed-files

I've added properties to the types and mocked some objects based on your mocked query.

added HouseholdUserProfile, atleast as a temporary solution image7

don't know how we will set up chore_to_user yet.

need to decide if we want to have the foreign key as a property, or map to an actual object .

88jonhan commented 1 month ago

added this: image