const express = require("express"); const app = express(); app.use(express.json()); // Auth routes app.use("/auth", require("./routes/auth")); // Health check app.get("/", (req, res) => { res.send("Auth backend running ✅"); }); const PORT = 3001; app.listen(PORT, () => { console.log(`Auth server running on http://localhost:${PORT}`); });