Skip to content

Commit 2fddaf7

Browse files
Merge branch 'main' into logging
2 parents 29d3ed1 + bc00c74 commit 2fddaf7

File tree

12 files changed

+744
-68
lines changed

12 files changed

+744
-68
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: 62 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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@
1111
"author": "",
1212
"license": "MIT",
1313
"dependencies": {
14+
"@tanstack/react-query": "^5.90.5",
1415
"bcryptjs": "^3.0.2",
1516
"body-parser": "^1.20.2",
1617
"cookie-parser": "^1.4.7",
1718
"cors": "^2.8.5",
19+
"crypto": "^1.0.1",
1820
"dotenv": "^16.6.1",
1921
"express": "^4.21.2",
2022
"jsonwebtoken": "^9.0.2",
2123
"mongoose": "^8.19.2",
2224
"morgan": "^1.10.0",
23-
"nodemailer": "^7.0.9",
25+
"nodemailer": "^7.0.10",
2426
"nodemon": "^3.1.10",
2527
"uuid": "^13.0.0",
2628
"winston": "^3.18.3"
@@ -30,10 +32,11 @@
3032
"@types/body-parser": "^1.19.2",
3133
"@types/cookie-parser": "^1.4.9",
3234
"@types/cors": "^2.8.13",
33-
"@types/express": "^4.17.23",
35+
"@types/express": "^4.17.25",
3436
"@types/jsonwebtoken": "^9.0.10",
3537
"@types/morgan": "^1.9.7",
36-
"@types/nodemailer": "^7.0.2",
38+
"@types/node": "^24.9.2",
39+
"@types/nodemailer": "^7.0.3",
3740
"@types/uuid": "^10.0.0",
3841
"ts-node": "^10.9.2",
3942
"ts-node-dev": "^2.0.0",

0 commit comments

Comments
 (0)