Facebook Pixel

How does DevTinder do authentication?

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.

Verify This Answer

Cross-check this information using these trusted sources:

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?

Our courses are taking a Coffee break, but your curiosity shouldn't. Stay engaged with namastedev linkedin, youtube, discord and other resources while you wait.

0
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.