# Nom Nom App ![](https://i.imgur.com/TGDdiqA.png) --- App to leave reviews on restaurants ![](https://i.imgur.com/RexwIqn.gif) --- ## Roles - Orian: Quality Assurance - Juliette: Dev Ops - Paolo: UX Lead & Scrum Facilitator --- ## How we split the work --- ### Day 1 - Orian - Project setup: Juliette and Orian - Installing dependencies - Setting up local database - Write CSS and basic HTML structure - Paolo - Create schema on [dbdiagram.io](https://dbdiagram.io/home) - Build database and insert mock data in `init.sql` file - Write first test for homepage navigation --- ### Day 2 - Juliette - Merged CSS and static files - Added get and post functions so form entries were rendered on page - Wrote test for to check form submitted review and added it to the home page - Added basic post query - Simplified schema from one table to three - Added security to stop SQL injection - Deployed to Heroku --- ### Instagram: ![](https://i.imgur.com/yaSUpVB.png) --- ### VS Reality ![](https://i.imgur.com/tstXTSm.png) --- ## Dev Ops - Setting up file structure - This definitely took longer than anticipated! - __Always__ set up your`.gitignore` first! - Then your `.env` ![](https://media0.giphy.com/media/kJ1iL1ZQIyibu/200.webp?cid=ecf05e47wc6dvccif3azdrfai9ol2ehgcyd8ou8609ns57d4&rid=200.webp&ct=g) --- - Deploying to Heroku - Encountered some issues... - SSL errors and installed Heroku command line to understand better ![](https://i.imgur.com/1O3fuzX.gif) --- - Attempted to set up Github Actions! - This was a stretch goal of ours :straight_ruler: - It was fun to try and set these up, even if we didn't manage to get our tests working yet --- ## Quality Assurance :first_place_medal: - TDD with Cypress - Implement DB reset before each test - Insisting on clean code - Improvements: - Write more tests :pencil: - Questions to research: - Can you query database directly with SQL in test? --- ## Ux Lead & Scrum Facilitator ---- ## Project Board DAY 1 ![](https://i.imgur.com/m5tfUsy.png) ---- ### DAY 1 Estimate vs Actual Velocity ![](https://i.imgur.com/yeDQ3Xu.png) Estimate 8pts / Actual 9pts ---- ## Project Board DAY 2 ![](https://i.imgur.com/vmdovLW.png) ---- ### DAY 2 Estimate vs Actual Velocity ![](https://i.imgur.com/GXEDN8d.png) Estimate 14pts / Actual 12pts ---- ## Key Learnings - Don't forget to create `.gitignore` in project setup. Once files are pushed to github it is too late... - Communicate, communicate, communicate --- ## We are proud of ... :crab: - Having deployed our first database project on Heroku! - Taking time to understand errors and imrpove our debugging skills :bug: - Team work: we had a few bumps in the road but we were open and honest with each other throughout the process! --- - Attempting using gitHub actions - Learning the basics on how to represent database tables on dbdiagram.io --- ## What we could have done ... - Code modularisation - Error handling - Use more than one table in our db - Grouping tests using describe --- ## Core user stories * As a user, I want to: submit information to your site for anyone to see * As a user, I want to: come back to your site later and see what I posted is still there --- [Demo](https://nom-nom-app.herokuapp.com/):link: ![](https://i.imgur.com/B5X4wOG.gif)
{"metaMigratedAt":"2023-06-16T18:23:04.031Z","metaMigratedFrom":"YAML","title":"Nom Nom App","breaks":true,"contributors":"[{\"id\":\"9e5170a0-78d4-4b78-8fba-f500bdd88450\",\"add\":1854,\"del\":376},{\"id\":\"e5b68a4f-393a-493d-b3f4-835497a37486\",\"add\":1248,\"del\":226},{\"id\":\"3934dd6c-8588-4d47-a23b-ba8c96da8ea7\",\"add\":917,\"del\":10}]"}
    187 views
   Owned this note