Skip to content

Commit 6b9e3f4

Browse files
create basic express app
Signed-off-by: Arnav Gupta <[email protected]>
0 parents  commit 6b9e3f4

File tree

4 files changed

+396
-0
lines changed

4 files changed

+396
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

package-lock.json

+374
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "cb_sample_heroku_nodejs",
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.17.1"
13+
}
14+
}

server.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const app = require('express')()
2+
3+
app.get('/', (req, res) => {
4+
res.send("Hello Heroku!")
5+
})
6+
7+
app.listen(5555)

0 commit comments

Comments
 (0)