Skip to content

Commit 1e4fd1f

Browse files
committed
added reset logic and UI
1 parent 5cb90d1 commit 1e4fd1f

File tree

12 files changed

+710
-88
lines changed

12 files changed

+710
-88
lines changed

backend/.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
MONGO_URI=mongodb://localhost:27017/password-reset
2+
3+
EMAIL_PASS=your_app_password
4+
PORT=5000

backend/package-lock.json

Lines changed: 66 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
},
@@ -29,10 +31,11 @@
2931
"@types/body-parser": "^1.19.2",
3032
"@types/cookie-parser": "^1.4.9",
3133
"@types/cors": "^2.8.13",
32-
"@types/express": "^4.17.23",
34+
"@types/express": "^4.17.25",
3335
"@types/jsonwebtoken": "^9.0.10",
3436
"@types/morgan": "^1.9.7",
35-
"@types/nodemailer": "^7.0.2",
37+
"@types/node": "^24.9.2",
38+
"@types/nodemailer": "^7.0.3",
3639
"@types/uuid": "^10.0.0",
3740
"ts-node": "^10.9.2",
3841
"ts-node-dev": "^2.0.0",

0 commit comments

Comments
 (0)