Skip to content

Commit 6f4211a

Browse files
Rest of the files
1 parent 8a80c96 commit 6f4211a

File tree

8 files changed

+410
-3
lines changed

8 files changed

+410
-3
lines changed

.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# Compiled binary addons (http://nodejs.org/api/addons.html)
20+
build/Release
21+
22+
# Dependency directory
23+
# Commenting this out is preferred by some people, see
24+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
25+
node_modules
26+
27+
# Users Environment Variables
28+
.lock-wscript

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
heroku-node
2+
===========
3+
4+
Code for the tutorial by @sevilayha: Deploying Node Apps to Heroku

package-lock.json

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

package.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "node-sample",
3+
"description": "Our sample Node to Heroku app",
4+
"main": "server.js",
5+
"scripts": {
6+
"start": "node server.js"
7+
},
8+
"dependencies": {
9+
"ejs": "~1.0.0",
10+
"express": "~4.9.8",
11+
"fs": "0.0.1-security"
12+
}
13+
}

public/css/style.css

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
body { padding-top:50px; }
2+
.container .jumbotron { border-radius:40px; }

records.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"1" : {
33
"fullName" : "James P",
44
"phone" : "111-111-1111",
5-
"id": 0000000001
5+
"id": "0000000001"
66
},
77

88
"2" : {
99
"fullName" : "Patrick C",
1010
"phone" : "111-111-1111",
11-
"id": 0000000002
11+
"id": "0000000002"
1212
},
1313

1414
"3" : {
1515
"fullName" : "Kyle B",
1616
"phone" : "111-111-1111",
17-
"id": 0000000003
17+
"id": "0000000003"
1818
}
1919
}

0 commit comments

Comments
 (0)