-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.roadmap
More file actions
116 lines (69 loc) · 2.7 KB
/
.roadmap
File metadata and controls
116 lines (69 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
# 📅 **Settimana 1 – Struttura e fondamenta**
🎯 Obiettivo: avere un backend funzionante con registrazione/login utenti.
### Giorni 1-2
* Decidi lo **stack** (ti consiglio: **Node.js + Express + PostgreSQL** oppure **Django + PostgreSQL**).
* Crea il progetto base (repo GitHub, struttura cartelle).
* Configura DB con utenti (tabella user con campi: id, username, email, password hash, data creazione).
### Giorni 3-4
* Implementa **registrazione e login** con hash password (bcrypt).* Aggiungi sistema di **sessione o JWT** per autenticazione.
* Testa con Postman o curl.
### Giorno 5
* Crea API base:
* `/register`
* `/login`
* `/profile` (protetto con auth)
### Giorno 6
* Setup **frontend base** (React o Vue):
* Pagine: Login, Registrazione, Home.
* Chiamate API al backend.
### Giorno 7
* Test end-to-end: un utente si registra → fa login → vede la sua home.
* Refactor codice, prepara per funzionalità social.
---
# 📅 **Settimana 2 – Post, Commenti e Feed**
🎯 Obiettivo: avere un forum con post e commenti funzionanti.
### Giorni 8-9
* DB: aggiungi tabella **posts** (id, autore, testo, data, like\_count).
* API:
* `POST /post` (crea post)
* `GET /feed` (lista post in ordine cronologico).
### Giorni 10-11
* Aggiungi tabella **comments** (id, post\_id, autore, testo, data).
* API:
* `POST /comment`
* `GET /comments/:postId`
### Giorno 12
* Frontend: mostra feed con post e commenti.
* Form per creare un nuovo post.
### Giorno 13
* Aggiungi **like** (tabella likes: user\_id, post\_id).
* API `POST /like` + aggiornamento del feed.
### Giorno 14
* Testa tutto → registrazione → login → creare post → commentare → mettere like.
* Rifinisci un po’ la UI (cards, bottoni).
---
# 📅 **Settimana 3 – Realtime e Rifinitura**
🎯 Obiettivo: trasformare il forum in un social **in tempo reale** e renderlo presentabile.
### Giorni 15-16
* Integra **WebSocket/Socket.IO** (se sei su Node.js) o **Django Channels**.
* Aggiorna frontend per ricevere **nuovi post/commenti in diretta** senza refresh.
### Giorni 17-18
* Aggiungi **notifiche in tempo reale**:
* Se un utente commenta un tuo post → ti arriva notifica.
* Se ricevi un like → notifica.
### Giorno 19
* UI/UX migliorata:
* Feed più bello (stile minimal, cards).
* Notifiche in una sidebar.
* Pulsante logout, gestione errori (es. password sbagliata).
### Giorno 20
* Test generale con più utenti (crea 2-3 account e simula interazioni).
* Fix bug e pulizia codice.
### Giorno 21
* Scrivi una breve **documentazione su GitHub**:
* Come installare e avviare.
* Funzionalità supportate.
* Screenshot.
* Se vuoi, deploy su **Heroku/Render/railway.app** per mostrarlo online.
---