User signs up with email and password. Password is hashed with bcrypt. On login, the server issues a JWT stored in an httpOnly cookie. Protected routes verify the JWT through an auth middleware.
DevTinder Project Architecture and Design Overview
How does DevTinder do authentication?
The answer
More FAQs in DevTinder Project Architecture and Design Overview
DevTinder is a teaching project that mimics Tinder. Users sign up, create profiles, swipe on others, match with mutual likes, and chat in real time. It is a real Node.js backend.
Node.js, Express, MongoDB, Mongoose, JWT for auth, Socket.IO for real-time chat. The frontend is React. The backend is a well-structured monolith.
User A swipes right on User B and a ConnectionRequest with status "interested" is created. If User B has already swiped right on User A, a Connection (match) is created. Otherwise, nothing happens yet.
Still have questions?
Browse all our FAQs or reach out to our support team
Want to upskill yourself?
Your learning library
Small steps. Big possibilities.
Find your next course. Build something great.