import express from "express"; const port = 3000; const app = express(); app.get("/", (req, res) => { console.log("root path get method called.") res.send("!23") }) app.listen(port, () => { console.log(`server is runnug at ${port} port.`) }) export default app