try backend js

This commit is contained in:
M1n-0
2024-06-05 19:23:02 +02:00
parent 5b769bcda7
commit a7259bc042

11
js/app.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 from Node.js and Express!');
});
app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`);
});