Skip to content

Commit 975ca7c

Browse files
committed
Initial commit
0 parents  commit 975ca7c

File tree

6 files changed

+422
-0
lines changed

6 files changed

+422
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const express = require('express')
2+
const app = express()
3+
const port = 3000
4+
5+
app.use(express.static('public'))
6+
7+
app.listen(port, () => console.log(`Example app listening on port ${port}!`))

package-lock.json

Lines changed: 373 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "example-app",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "ISC",
11+
"dependencies": {
12+
"express": "^4.16.3"
13+
}
14+
}

0 commit comments

Comments
 (0)