Skip to content

Commit d02965b

Browse files
committedSep 2, 2017
Added server running message
1 parent 62277d2 commit d02965b

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed
 

‎package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name" : "angular-note",
3-
"version" : "0.0.1",
4-
"description" : "Simple note app in angularjs and nodejs",
5-
"main" : "server.js",
6-
"author" : "Poorvi",
7-
"dependencies" : {
8-
"express" : "latest",
2+
"name": "angular-note",
3+
"version": "0.0.1",
4+
"description": "Simple note app in angularjs and nodejs",
5+
"main": "server.js",
6+
"author": "Poorvi",
7+
"dependencies": {
8+
"express": "latest",
99
"body-parser": "latest",
10-
"morgan" : "latest",
11-
"mongoose" : "latest",
12-
"request" : "latest"
10+
"morgan": "latest",
11+
"mongoose": "latest",
12+
"request": "latest"
1313
}
14-
}
14+
}

‎server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ require('./app/routes/api')(app);
3232
require('./app/routes/routes')(app);
3333

3434
// Start the app with listen and a port number
35-
app.listen(3000);
35+
app.listen(3000);
36+
console.log("Express server running at http://localhost:3000");

0 commit comments

Comments
 (0)