Real-Time Chat
Applicazione di chat realtime con autenticazione e gestione profili.
Cosa fa
- Registrazione/login con validazione, bcrypt, JWT, cookie cross-domain
- Messaggi istantanei via Socket.io
- Invio di immagini con upload su Cloudinary
- Sidebar contatti, indicatori di stato, notifiche toast
- Tema chiaro/scuro dinamico
- Routing protetto lato client
Stack
- Frontend: React 19, TypeScript, Vite, Tailwind, Zustand, Socket.io client, React Router
- Backend: Node.js, Express, Socket.io server
- DB: MongoDB
- Asset: Cloudinary
Cosa ho imparato
- Architettura realtime con Socket.io (rooms, eventi, presenza)
- Gestione stato client-side con Zustand vs Redux (più leggero, preferito per app medio-piccole)
- Sicurezza auth: JWT in cookie httpOnly, CORS configurato, hash bcrypt
Ruolo
Sviluppo completo full-stack, deploy, configurazione.