How iambuzzz/devtinder works
DevTinder is a developer-connection social platform. Its main user journey is account access and profile setup, discovering developers, sending and reviewing connection requests, then chatting with accepted connections; premium purchase is a separate monetization path. The graph also includes documented email, scheduling, and media capabilities. Backend route and integration links are grounded in sampled route code or README claims; unsampled frontend API wiring and background-job internals are not inferred.
Main entry points: App.jsx App routes · user.js User records · auth.js JWT authorization · profileRouter.js Profile management
Components 31
Web client
- App routes
Frontend/src/App.jsx - Developer feed
Frontend/src/components/Feed.jsx - Connection requests
Frontend/src/components/RequestsFeed.jsx - Connections list
Frontend/src/components/Connections.jsx - Chat views
Frontend/src/components/Chat.jsx - Premium page
Frontend/src/components/PremiumPage.jsx
Identity and profiles
- Signup and login
Backend/src/routes/authRouter.js - JWT authorization
Backend/src/middlewares/auth.js - Profile management
Backend/src/routes/profileRouter.js - User records
Backend/src/models/user.js - Input validation
Backend/src/utils/validate.js - Photo uploads
Backend/src/utils/cloudinary.js
Discovery and messaging
- Request handling
Backend/src/routes/requestRouter.js - Connection requests
Backend/src/models/connectionRequest.js - Chat API
Backend/src/routes/chatRouter.js - Chat records
Backend/src/models/chat.js - Live events
Backend/src/utils/socket.js
Premium payments
- Payment handling
Backend/src/routes/paymentRouter.js - Payment records
Backend/src/models/payment.js - Razorpay client
Backend/src/utils/razorpay.js
Background services
- Email queue
Backend/src/queues/mailQueue.js - Email sending
Backend/src/utils/sendEmail.js - AWS SES client
Backend/src/utils/sesClient.js - Scheduled maintenance
Backend/src/utils/cronjob.js
Other components
- Developer
- Backend server
Backend/src/app.js - MongoDB
- Cloudinary
- Razorpay
- AWS SES
- Redis
Connections 35
- Developer → App routes: uses
- App routes → Developer feed: routes to
- App routes → Connection requests: routes to
- App routes → Connections list: routes to
- App routes → Chat views: routes to
- App routes → Premium page: routes to
- Backend server → MongoDB: connects
- Signup and login → Input validation: validates
- Signup and login → User records: reads and writes
- JWT authorization → User records: loads user
- Profile management → JWT authorization: guards
- Profile management → Input validation: validates
- Profile management → User records: reads and writes
- Profile management → Photo uploads: uploads photo
- Photo uploads → Cloudinary: stores image
- User records → MongoDB: persists
- Request handling → JWT authorization: guards
- Request handling → User records: checks user
- Request handling → Connection requests: reads and writes
- Request handling → Live events: emits events
- Connection requests → MongoDB: persists
- Chat API → JWT authorization: guards
- Chat API → Chat records: reads and writes
- Chat API → Live events: emits events
- Chat records → MongoDB: persists
- Payment handling → JWT authorization: guards
- Payment handling → Razorpay client: creates order
- Payment handling → Payment records: reads and writes
- Payment handling → User records: updates premium
- Razorpay client → Razorpay: calls
- Payment records → MongoDB: persists
- Email queue → Redis: queues jobs
- Email sending → AWS SES client: sends through
- AWS SES client → AWS SES: sends email
- Scheduled maintenance → Backend server: runs scheduled