Skip to content

Commit ee213cc

Browse files
Merge branch 'main' into google-oauth
2 parents 99a1edb + c718a13 commit ee213cc

21 files changed

+936
-105
lines changed

backend/.env.example

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
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
@@ -9,4 +19,4 @@ JWT_REFRESH_SECRET=anothersecretkey456
919
NODE_ENV=development
1020
FIREBASE_STORAGE_BUCKET=get-from-firebaseconsole
1121
GOOGLE_CLIENT_ID=yours
12-
GOOGLE_CLIENT_SECRET=yours
22+
GOOGLE_CLIENT_SECRET=yours

backend/package-lock.json

Lines changed: 73 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
@@ -13,32 +13,36 @@
1313
"dependencies": {
1414
"@react-oauth/google": "^0.12.2",
1515
"@types/socket.io": "^3.0.1",
16+
"@tanstack/react-query": "^5.90.5",
1617
"bcryptjs": "^3.0.2",
1718
"body-parser": "^1.20.2",
1819
"cookie-parser": "^1.4.7",
1920
"cors": "^2.8.5",
21+
"crypto": "^1.0.1",
2022
"dotenv": "^16.6.1",
2123
"express": "^4.21.2",
2224
"google-auth-library": "^10.5.0",
2325
"jsonwebtoken": "^9.0.2",
2426
"mongoose": "^8.19.2",
2527
"morgan": "^1.10.0",
26-
"nodemailer": "^7.0.9",
28+
"nodemailer": "^7.0.10",
2729
"nodemon": "^3.1.10",
2830
"socket.io": "^4.8.1",
2931
"socket.io-client": "^4.8.1",
3032
"uuid": "^13.0.0",
33+
"zod": "^4.1.12"
3134
"winston": "^3.18.3"
3235
},
3336
"devDependencies": {
3437
"@types/bcryptjs": "^2.4.6",
3538
"@types/body-parser": "^1.19.2",
3639
"@types/cookie-parser": "^1.4.9",
3740
"@types/cors": "^2.8.13",
38-
"@types/express": "^4.17.23",
41+
"@types/express": "^4.17.25",
3942
"@types/jsonwebtoken": "^9.0.10",
4043
"@types/morgan": "^1.9.7",
41-
"@types/nodemailer": "^7.0.2",
44+
"@types/node": "^24.9.2",
45+
"@types/nodemailer": "^7.0.3",
4246
"@types/uuid": "^10.0.0",
4347
"ts-node": "^10.9.2",
4448
"ts-node-dev": "^2.0.0",

0 commit comments

Comments
 (0)