init.js 239 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 import "dotenv/config"; import "./db"; import "./models/User"; import app from "./server"; const PORT = 5500; const handleListening = () => console.log(`✅ Server running : http://localhost:${PORT}`); app.listen(PORT, handleListening);