# Week6 -- Parklife 2.0 – The park finder app. Team: Evgeny, Nafisa, Michael, Sevda --- ### Process - Sevda ![](https://media.giphy.com/media/3ohs7PKDIhQimN10C4/giphy.gif) --- ## Roles: - Facilitator: Sevda - User: Nafisa - Deployment: Michael - Quality: Evgeny --- ## Our service - Park finder and recommendations web app. --- ## Our work process - Decided roles - Made repo - Converted project instructions into Kanban board. - Decide on what web application offers - Set up server - In pairs, 1 hour each then swap: - - Michael and Sevda: data structure - - Nafisa and Evgeny: Set up routes - Team recaps in every issue --- ### Thurs: - Split into pairs and take issues: --- ## Reflections on our workflow - Ensure everybody understands the codebase. - Everybody talks equally and works with one another - Recaps are about why we should or not include any code. --- ![](https://i.imgur.com/6cadjrT.png) --- Micheal - Demo --- ![](https://i.imgur.com/V11Zjrb.png) --- ![](https://i.imgur.com/sVBBrzH.png) ## HTML list *ad infinitum*... --- ![](https://i.imgur.com/WtCTQ3F.png) --- ![](https://media.giphy.com/media/GJT71xOCWVg2I/giphy.gif) --- ***Struggles we had during our project work*** ![](https://media.giphy.com/media/ato8zWPAyDl28/giphy.gif) --- **Modularising the code** ![](https://media.giphy.com/media/bXHbRoSLmmAJhpTyLf/giphy.gif) --- **Using template file** ![](https://media.giphy.com/media/SVrhnno6uiooNbza3p/giphy.gif) --- **Adding static files CSS** ![](https://media.giphy.com/media/QuPrp3BI6cMe2lErCb/giphy.gif) --- **Adding image and logo** ![](https://media.giphy.com/media/ToMjGpFB8ONlhzUK5Hi/giphy.gif) --- **Connecting multiple databases using ids** ![](https://media.giphy.com/media/nvb74G5HEcQhoah9Hv/giphy.gif) --- **Loging user out** ![](https://media.giphy.com/media/6QMBGfiLJBXRwpUNUA/giphy.gif) --- **Deploying to heroku** ![](https://media.giphy.com/media/TseBjMu53JgWc/giphy.gif) --- **Adding tests** ![](https://media.giphy.com/media/Zp3dDTwtkKKU8/giphy.gif) --- ## Learnings/ what went well Switched pairs, everyone worked with each other this week More practise with debugging --- Mapped out schema's clearly, last week we only had one table. ``` db.query( "INSERT INTO parks(park_name, location) VALUES($1, $2)", [data.park, data.location] ) db.query( "INSERT INTO park_comments(text_content) VALUES($1)", [data.comment] ) ``` Clearer idea on how all the functions fit together and how the cookies can be used to retreive user data/ their posts. --- ## Learnings > Enviorenmental variable should not be wrapped in quotes. ![](https://i.imgur.com/y6Cmrld.png) --- ## HUGE THANKS TO THE MENTORS FOR THE INFINITE SUPPORT! <img src="https://i.pinimg.com/originals/89/04/4b/89044b41a6b0e81a21a5f1bcbd149070.gif">
{"metaMigratedAt":"2023-06-15T23:39:56.730Z","metaMigratedFrom":"Content","title":"Week6 -- Parklife 2.0 – The park finder app.","breaks":true,"contributors":"[{\"id\":\"542fc42e-6a66-41fd-b72f-cf17ca2fb561\",\"add\":352,\"del\":104},{\"id\":\"7a5548f0-da55-4d05-a75d-a38212f27c1c\",\"add\":1752,\"del\":691},{\"id\":\"12ba2d80-f158-4148-9ff5-c50f626d4b40\",\"add\":1505,\"del\":743},{\"id\":\"ed85db99-8527-44b2-9bd7-ec1d8e4a4689\",\"add\":1050,\"del\":189}]"}
    182 views
   Owned this note