We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8debe5b commit c4e9703Copy full SHA for c4e9703
package.json
@@ -4,7 +4,7 @@
4
"description": "",
5
"main": "index.js",
6
"scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
+ "start": "node src/app.js"
8
},
9
"author": "",
10
"license": "ISC",
src/app.js
@@ -4,12 +4,10 @@ const hbs = require('hbs')
const mongodb = require('mongodb')
const bodyParser = require('body-parser')
-// var dbConn = mongodb.MongoClient.connect('mongodb://localhost:27017');
const MongoClient = mongodb.MongoClient;
const databaseName = 'responses'
11
const app = express()
12
-
13
const port = process.env.PORT || 3000
14
15
//Define paths for Express config
0 commit comments