# 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 ![](https://www.tunnock.co.uk/images/timeline/lead.png) - 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 ![](https://i.imgur.com/6mVC5fV.png) ![](https://i.imgur.com/sbhCdtJ.png) ![](https://i.imgur.com/LOwblBD.png) ![](https://i.imgur.com/9B0GXDj.png) ![](https://i.imgur.com/AjmA4Uw.png) ![](https://i.imgur.com/0iRsE5E.png) ![](https://i.imgur.com/i3joA3u.png) ![](https://i.imgur.com/04pECzg.png) --- # FAC eats ## Week 2 Database Project ### by Alex, Barbara, Elena, Sasha ![](https://i.imgur.com/6mVC5fV.png =500x) --- ## DEMO 📼 --- ## Behind the scenes ✨ --- ## Process - Constant pair cycling - 2 hour minisprints - Structured overarching day plan ![](https://i.imgur.com/0iRsE5E.png =400x) --- ## Design reference ![](https://www.tunnock.co.uk/images/timeline/lead.png) --- ## Schema :art: ![](https://i.imgur.com/i3joA3u.png =400x) - 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}]"}
    122 views