- Run the project --- (npm run dev)
- Data Sanitization & Schema Validations (Schema)
- validator package (for validation like email, password, photoURL, etc)
- bcrypt (for password incription)
- cookie-parser (for reading cookie, no need of cookie-parser for saving cookie on browser)
- JWT - JSON Web Token (contains header, payload and verify signature)
- add userSchema.method (schema methods)
- Post /signup✅
- Post /login✅
- Post /logout✅
- Get /profile/view✅
- Patch /profile/edit✅
- Patch /profile/password✅
- Post /request/send/:status/:toUserId✅
- Post /request/review/:status/:requestId✅
- Get /user/request/received✅
- Get /user/requests✅
- Get /user/feed✅
status: ignored, interested, accepted, rejected