premiere distribution de la page web

This commit is contained in:
2026-07-30 23:04:01 +02:00
commit c975fb87ea
1759 changed files with 719978 additions and 0 deletions

12
server/server.js Normal file
View File

@@ -0,0 +1,12 @@
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}`);
});