-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Description:-
Currently, DevTinder is a frontend-only project with simulated navigation and UI for login/signup. To enhance functionality and prepare for future scalability, I propose integrating a backend using Node.js, Express.js, and MongoDB.
Planned Backend Features (Phase 1):-
Setup basic Express server structure.
Connect MongoDB using Mongoose.
Create User model (with email, username, password, etc.).
Implement secure user registration with password hashing (bcrypt).
Implement user login with JWT-based authentication.
Create protected routes (e.g., dashboard/profile page access).
Store JWT in HTTP-only cookie for authentication.
Show error messages and success feedback.
Tech Stack:-
- Backend: Node.js, Express.js, MongoDB, Mongoose.
- Authentication: JWT, bcrypt.
- Future Integration: Frontend can be connected using protected routes and Axios/fetch for API calls.
Benefits:-
- Enables real-time user authentication.
- Moves DevTinder from prototype to production-ready application.
- Opens the door for user-based features like swiping, matching, and messaging.
Metadata
Metadata
Assignees
Labels
No labels