Razew / suvnet23-household-backsidegang

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

Set up read-only DB #56

Closed frankenwino closed 1 month ago

frankenwino commented 1 month ago

Create a read-only database that will be populated with mock data. Provide team with access credentials.

frankenwino commented 1 month ago

References issue #53

Amended type Avatar from

export type Avatar = {
  id: number;
  name: string;
  image: string;
  colour_code: string;
};

...to

export type Avatar = {
  id: number;
  name: string;
  emoji: string;
  colour_code: string;
};
frankenwino commented 1 month ago

Look at ./components/ConnectToDBExample.tsx for a demo.

Pre-use checklist: