initial
This commit is contained in:
commit
7060aebbad
|
@ -0,0 +1 @@
|
|||
/node_modules
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "express",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nodemon ./src/app.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.19.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.1.3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
const express = require('express')
|
||||
|
||||
const app = express()
|
||||
|
||||
app.use((req, res, next) => {
|
||||
res.send('Hello')
|
||||
})
|
||||
|
||||
app.listen(3000)
|
Loading…
Reference in New Issue