diff --git a/server/.env b/server/.env index 6d0d197..b421617 100644 --- a/server/.env +++ b/server/.env @@ -1,2 +1,2 @@ PORT=5000 -MONGO_URL="mongodb+srv://22cs3016:Anshjain-1234@cluster0.ubt7gcm.mongodb.net/LetsAddOn" \ No newline at end of file +MONGO_URL="mongodb+srv://22cs3016:LETSADDON@cluster0.ubt7gcm.mongodb.net/LetsAddOn" \ No newline at end of file diff --git a/server/index.js b/server/index.js index d26e27a..e92d13d 100644 --- a/server/index.js +++ b/server/index.js @@ -2,7 +2,6 @@ const express=require("express"); const cors=require("cors"); const mongooose = require("mongoose"); const userRoutes = require("./routes/userRoutes"); - const app= express(); require("dotenv").config(); diff --git a/server/package.json b/server/package.json index 7743305..f1b90dc 100644 --- a/server/package.json +++ b/server/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start":"nodemon index.js" + "start": "nodemon index.js" }, "author": "", "license": "ISC",