- 1.Construire un Chat : Chapitre 1 — Architecture et mise en place
Deux applications distinctes, quatre concepts fondamentaux, et comment faire communiquer Rails ActionCable avec Next.js via WebSockets.
・8 min🌐 - 2.Construire un Chat : Chapitre 2 — Le backend ActionCable
Authentification des connexions, channels visiteur et admin, le modèle de données, et comment Solid Cable remplace Redis par SQLite.
・8 min🌐 - 3.Construire un Chat : Chapitre 3 — Le client frontend
Client ActionCable en TypeScript, unions discriminées pour les données des channels, cycle de vie WebSocket en React, et le piège useRef qui empêche les reconnexions infinies.
・7 min🌐 - 4.Construire un Chat : Chapitre 4 — Dashboard admin et notifications push
Authentification admin, gestion de plusieurs conversations sur un seul WebSocket, et le pipeline complet de notifications Web Push.
・7 min🌐 - 5.Construire un Chat : Chapitre 5 — Déploiement avec Kamal
Build Docker multi-stage, déploiement Kamal 2 sur Hetzner, gestion des secrets, CI/CD GitHub Actions, et configuration WebSocket en production.
・6 min🌐