const express = require('express'); const path = require('path'); const app = express(); const PORT = process.env.PORT || 3002; // Serve static files from the public directory app.use(express.static(path.join(__dirname, 'public'))); // Start server app.listen(PORT, () => { console.log(`SPORE website running at http://localhost:${PORT}`); });