Skip to content

Feature Request: Add Backend Functionality (Login & Signup with Authentication) #15

@milan-deori

Description

@milan-deori

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions