diff --git a/server.js b/server.js new file mode 100644 index 0000000..a4c764e --- /dev/null +++ b/server.js @@ -0,0 +1,12 @@ +const express = require('express'); +const path = require('path'); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// Statik dosyaları public klasöründen servis et +app.use(express.static(path.join(__dirname, 'public'))); + +app.listen(PORT, () => { + console.log(`Pathfinder AI çalışıyor → http://localhost:${PORT}`); +});