opex792's picture
Initial Space setup of opex792/hello-express-api via Builder
c08d979 verified
import express from "express";
const app = express();
const port = 3000;
app.get("/", (req, res) => {
res.send("Hello World!");
});
app.listen(port, () => {
console.log(`Example app listening on port ${port}`);
});