hello world
This commit is contained in:
parent
b3ed1c620d
commit
6868860a85
3 changed files with 1309 additions and 2 deletions
11
index.js
Normal file
11
index.js
Normal 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}`);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue