UNPKG

banah

Version:

Start up your Node.js projects with ease. No need to install express, cors, or the basic things you need for a Node.js project. We got you covered.

15 lines (11 loc) 289 B
import express from "express"; import dotenv from "dotenv"; dotenv.config(); const app = express(); const PORT = process.env.PORT || 3000; app.get("/", (req, res) => { res.send("Hello from Banah!"); }); app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); });