config(); import { config } from "dotenv"; import express from "express"; const PORT = process.env.PORT; const app = express(); // Test endpoint app.get("/", (req, res) => res.status(200).json({ message: "API is working!" }) ); app.listen(PORT, () => console.log(`Server started on port = ${PORT}`));