... | ... | @@ -28,6 +28,58 @@ Utilizamos dois bancos de dados para este projeto: Firebase e Postgres. O Fireba |
|
|
|
|
|
### Modelagem do Banco de Dados (Firebase)
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"sessions": {
|
|
|
"5853": {
|
|
|
"game": {
|
|
|
"current_story": "5021687140",
|
|
|
"current_task": "5021695966",
|
|
|
"finished": true,
|
|
|
"opened_at": "2023-11-24T19:29:29.226Z",
|
|
|
"sprint_name": "Sprint 04 21/08 a 01/09 (3T) - 38 pontos -> ?? pts",
|
|
|
"squad_id": "bb2916cf-3c1a-42c5-9e35-be69a83633fb",
|
|
|
"squad_name": "Squad 2",
|
|
|
"stories": {
|
|
|
"5021687140": {
|
|
|
"name": "[UX] Investigar os melhores templates do site e oportunidades para aumentar CTR das p�ginas",
|
|
|
"tasks": {
|
|
|
"5021693668": {
|
|
|
"description": "Habitissimo"
|
|
|
},
|
|
|
"5021695966": {
|
|
|
"description": "Triider"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"users": {
|
|
|
"172de6de-a6e8-4735-8916-6b5b261e9671": {
|
|
|
"firebase_auth_id": "172de6de-a6e8-4735-8916-6b5b261e9671",
|
|
|
"level": "JUNIOR",
|
|
|
"name": "Joao"
|
|
|
},
|
|
|
"75750607-8e95-4440-a35c-5d28ae25217f": {
|
|
|
"level": "JUNIOR",
|
|
|
"name": "Kayky"
|
|
|
}
|
|
|
},
|
|
|
"votes": {
|
|
|
"5021693668": {
|
|
|
"final_vote": 5
|
|
|
},
|
|
|
"5021695966": {
|
|
|
"final_vote": 5,
|
|
|
"votes": {
|
|
|
"172de6de-a6e8-4735-8916-6b5b261e9671": 2
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
---
|
|
|
|
... | ... | |