# FAC eats
## Week 2 Database Project
### by Alex, Barbara, Elena, Sasha
---
Talking Points (12min talk + 5min QA)
- Demo
- Behind the scenes: Repo, Issues, Project Board
- Process
- Roles
- Design reference

- What worked well
- pair splitting & joining: handover: merge pull requests
- Using Miro for Database Schema, co-authoring
- Problems we encountered
- heroku deployment isn't working
- the first promise is rejecting
- we don't know why 😢
- race conditions
- switched our insert code to async/await
- made sure to `.then` our redirect
-
- tasks/time
- What would we do next time/ if we had more time?
- less time on CSS, focus more on making each member write DB








---
# FAC eats
## Week 2 Database Project
### by Alex, Barbara, Elena, Sasha

---
## DEMO 📼
---
## Behind the scenes ✨
---
## Process
- Constant pair cycling
- 2 hour minisprints
- Structured overarching day plan

---
## Design reference

---
## Schema :art:

- we used `Miro` for visualising our database
- assigning data types and constraints
---
## Problems we encountered
- heroku deployment isn't working
- the first promise is rejecting
- we don't know why 😢
---
- race conditions
- switched our insert code to async/await
- made sure to `.then` our `redirect('/')`
- tasks/time
---
## What worked well
- Pair Programming:
- Everyone paired with everyone
- Handover: merge pull requests together
- Using Miro for Database Schema,
- Co-authoring, Live-share, branches
- Spending much time on how to set up project
---
## Next time: FAC eats
- Handling anonymous users
- Like/star button
- Filter/sort reviews
- Calculate distance
- Page for each restaurant
- Cuisine categories
---
## Next time: Process
- More time
- Less effort on design
- Intentional focus on making each member write DB
- How to **set up** a database → extra workshop / time for research
- Cypress, Heroku
{"metaMigratedAt":"2023-06-16T12:05:16.934Z","metaMigratedFrom":"Content","title":"FAC eats","breaks":true,"contributors":"[{\"id\":\"6cc335f8-1f36-47ab-89ea-21858127bf52\",\"add\":1155,\"del\":427},{\"id\":\"548f50f6-57d2-41cc-8ac5-16f14911b4e2\",\"add\":1181,\"del\":6},{\"id\":\"c73f6242-b59d-41a3-ab7d-6dfb6eacd262\",\"add\":518,\"del\":37},{\"id\":\"c64c09fb-f2ff-4773-96d9-380de11398cb\",\"add\":235,\"del\":83}]"}