const express = require('express'); const path = require('path'); const app = express(); const PORT = process.env.PORT || 3000; // Sert tous les fichiers du dossier "public" app.use(express.static(path.join(__dirname, '../client'))); app.listen(PORT, () => { console.log(`Serveur démarré sur http://localhost:${PORT}`); });