hello world

This commit is contained in:
counterweight 2025-02-05 12:47:30 +01:00
parent b3ed1c620d
commit 6868860a85
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 1309 additions and 2 deletions

11
index.js Normal file
View file

@ -0,0 +1,11 @@
const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(port, () => {
console.log(`Server started on port ${port}`);
});

1292
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,16 @@
{
"name": "express-hello-world",
"version": "1.0.0",
"description": "A joke application.",
"dependencies": {
"express": "^4.17.1"
},
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
}