Initialized Project with default middlewares and helpers, connected to Atlas Instance and created Swagger Setup. Created necessary DB models and authentication-authorization logic

This commit is contained in:
Shibi Chakkaravarthy
2026-04-15 02:28:35 +05:30
commit 864e5fae65
71 changed files with 8184 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon --exec babel-node --inspect index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"bcrypt": "^6.0.0",
"body-parser": "^2.2.2",
"cors": "^2.8.6",
"dayjs": "^1.11.20",
"dotenv": "^17.4.1",
"express": "^5.2.1",
"haversine": "^1.1.1",
"jsonwebtoken": "^9.0.3",
"mongoose": "^9.4.1",
"swagger-ui-express": "^5.0.1",
"ws": "^8.20.0"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/node": "^7.29.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.29.2",
"nodemon": "^3.1.14"
}
}