mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
14 lines
251 B
JavaScript
14 lines
251 B
JavaScript
import express from "express";
|
|
|
|
const app = express();
|
|
const port = 3000;
|
|
|
|
var i = 0;
|
|
app.get("/", (req, res) => {
|
|
res.send("Hello World!" + i++);
|
|
});
|
|
|
|
app.listen(port, () => {
|
|
console.log(`Express app listening at http://localhost:${port}`);
|
|
});
|