Skip to content

Commit e76dd55

Browse files
Merge branch 'main' into auth-fix
2 parents 69e9ead + c718a13 commit e76dd55

21 files changed

+938
-108
lines changed

backend/.env.example

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
# MongoDB configuration
2+
# Use one connection based on your project setup can use both for clean handling and can combine also
3+
MONGO_URI=mongodb://localhost:27017/password-reset
4+
# MONGO_URI=mongodb://localhost:27017/uniloot
5+
6+
# Email configuration
7+
8+
EMAIL_PASS=your_app_password
9+
10+
# Server settings
111
PORT=5000
2-
MONGO_URI=mongodb://localhost:27017/uniloot
12+
NODE_ENV=development
313

414
# JWT configuration
515
JWT_SECRET=supersecretkey123
616
JWT_REFRESH_SECRET=anothersecretkey456
717

8-
# Optional
9-
NODE_ENV=development
10-
FIREBASE_STORAGE_BUCKET=get-from-firebaseconsole
18+
# Firebase storage bucket (from Firebase console)
19+
FIREBASE_STORAGE_BUCKET=get-from-firebaseconsole

backend/package-lock.json

Lines changed: 74 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,35 @@
1212
"license": "MIT",
1313
"dependencies": {
1414
"@types/socket.io": "^3.0.1",
15+
"@tanstack/react-query": "^5.90.5",
1516
"bcryptjs": "^3.0.2",
1617
"body-parser": "^1.20.2",
1718
"cookie-parser": "^1.4.7",
1819
"cors": "^2.8.5",
20+
"crypto": "^1.0.1",
1921
"dotenv": "^16.6.1",
2022
"express": "^4.21.2",
2123
"jsonwebtoken": "^9.0.2",
2224
"mongoose": "^8.19.2",
2325
"morgan": "^1.10.0",
24-
"nodemailer": "^7.0.9",
26+
"nodemailer": "^7.0.10",
2527
"nodemon": "^3.1.10",
2628
"socket.io": "^4.8.1",
2729
"socket.io-client": "^4.8.1",
2830
"uuid": "^13.0.0",
31+
"zod": "^4.1.12"
2932
"winston": "^3.18.3"
3033
},
3134
"devDependencies": {
3235
"@types/bcryptjs": "^2.4.6",
3336
"@types/body-parser": "^1.19.2",
3437
"@types/cookie-parser": "^1.4.9",
3538
"@types/cors": "^2.8.13",
36-
"@types/express": "^4.17.23",
39+
"@types/express": "^4.17.25",
3740
"@types/jsonwebtoken": "^9.0.10",
3841
"@types/morgan": "^1.9.7",
39-
"@types/nodemailer": "^7.0.2",
42+
"@types/node": "^24.9.2",
43+
"@types/nodemailer": "^7.0.3",
4044
"@types/uuid": "^10.0.0",
4145
"ts-node": "^10.9.2",
4246
"ts-node-dev": "^2.0.0",

0 commit comments

Comments
 (0)