diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-03-18 12:43:21 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-03-18 12:43:21 +0500 |
| commit | 4ffc6456db76224956a50ebe57227615fc7b1938 (patch) | |
| tree | faa269e1145304f5052ecd258470ba69d1a23fa4 /src | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..30c77fe --- /dev/null +++ b/src/index.js @@ -0,0 +1,15 @@ +import express from 'express'; + +let main = () => { + const app = express(); + + app.get("/", (req, res) => { + res.send("Hello, world"); + }); + + app.listen(3000, () => { + console.log("Hello, world!"); + }); +} + +main(); |
