## Notes - [x] Update [[Supabase]] - [x] Delete local data - `supabase stop --no-backup` - `brew upgrade supabase` - [x] Local supabase takes forever to start - Had to bounce it - [x] Update Docker Desktop - Match remote Supabase with local - Link to remote - Start local supabase - Run `supabase db push` - Fix error `failed to connect to postgres: failed to connect to `host=aws-0-us-west-1.pooler.supabase.com user=postgres.kybcsmnqmocsazdidvnw database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server)` - Initialize game - 1. (UI) User clicks "create game" - 2. (UI) Displays [[#Create Game Page]] - 3. (UI) calls `POST /game` with game parameters - 4. (API) `POST /game` - 4a. Creates a game instance in the `match_game` table - 4b. Fetches collection of restaurants and associates with created `match_game` - 4c. Returns an initial restaurant - [[#Create Game Without Group]] workflow - (UI) User chooses game parameters - Display next restaurant in existing game instance - 1. (UI) navigate to existing game instance - 2. (UI) should fetch next available restaurant - 2a (API) return next available restaurant if it exists - 2b (API) populate next restaurants and return next one - 3. (UI) display restaurant details ## Referencias - [[Restaurant Swipe Overview|Restaurant Swipe]]