diff --git a/package.json b/package.json index 6401e3c..002fe26 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,20 @@ { "name": "shorturl", - "version": "0.0.1", + "version": "0.0.2", "description": "API project for freeCodeCamp", "main": "server.js", "scripts": { "start": "node server.js" }, "dependencies": { - "express": "^5.0.0-alpha.2", - "mongodb": "^2.2.5", - "mongoose": "^4.5.7", - "cors": "^2.8.1", - "body-parser": "^1.15.2" + "express": "^4.17.1", + "mongodb": "^3.3.3", + "mongoose": "^5.7.7", + "cors": "^2.8.5", + "body-parser": "^1.19.0" }, "engines": { - "node": "4.4.5" + "node": "10.17.0" }, "repository": { "type": "git", @@ -26,4 +26,4 @@ "express" ], "license": "MIT" -} \ No newline at end of file +} diff --git a/server.js b/server.js index ab0929d..cee39f8 100644 --- a/server.js +++ b/server.js @@ -12,7 +12,7 @@ var app = express(); var port = process.env.PORT || 3000; /** this project needs a db !! **/ -// mongoose.connect(process.env.MONGOLAB_URI); +// mongoose.connect(process.env.DB_URI); app.use(cors());