import express from "express"; import customerRoutes from "./routes/customerRoutes.js"; const app = express(); app.use(express.json()); const PORT = 3000; app.get("/", (req, res) => { res.send("Customer MVC App Running!"); }); app.use("/customers", customerRoutes); app.listen(PORT, () => { console.log(`Server running at http://localhost:${PORT}`); });