Closed Yashgupta9330 closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
pet-me-prod-pet-me-frontend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 17, 2024 8:33pm |
@Yashgupta9330 Will be reviewing it tomorrow
okk if any changes needed pls tell me i will change it
Can you give me the req-res for the endpoints, and also 17 files changed, bro? @Yashgupta9330
1) otp route: http://localhost:3001/auth/otp { "email":"", } 2) signup route: http://localhost:3001/auth/signup { "first_name": "John", "last_name": "Doe", "email": "", "password": "", "address": "123 Main St", "city": "Anytown", "state": "Anystate", "country": "Country", "zip_code": "12345", "phone_number": "+1234956670", "otp":"" }
3) login route: http://localhost:3001/auth/login
{ "email":"", "password":"" }
three route made 1) signup- Used jwt for token generation 2) otp-used nodemailer for sending otp in mail 2) login-on successfull login cookie will be sent which contain token data