# Week6 -- Parklife 2.0 – The park finder app.
Team: Evgeny, Nafisa, Michael, Sevda
---
### Process - Sevda

---
## 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.
---

---
Micheal - Demo
---

---

## HTML list *ad infinitum*...
---

---

---
***Struggles we had during our project work***

---
**Modularising the code**

---
**Using template file**

---
**Adding static files CSS**

---
**Adding image and logo**

---
**Connecting multiple databases using ids**

---
**Loging user out**

---
**Deploying to heroku**

---
**Adding tests**

---
## 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.

---
## 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}]"}