mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com> Co-authored-by: snwy <snwy@snwy.me> Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com> Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com> Co-authored-by: Ben Grant <ben@bun.sh>
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}`);
|
|
});
|