Create index.js
Browse files
index.js
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const express = require('express')
|
2 |
+
const app = express()
|
3 |
+
const port = 7860
|
4 |
+
|
5 |
+
app.get('/', (req, res) => {
|
6 |
+
res.send('Hello World!')
|
7 |
+
})
|
8 |
+
|
9 |
+
app.listen(port, () => {
|
10 |
+
console.log(`Example app listening on port ${port}`)
|
11 |
+
})
|