https://github.com/2sagarraut2/devtinder
The DevTinder Backend is a Node.js + Express application designed to connect developers, much like a professional matchmaking app for coders.
https://github.com/2sagarraut2/devtinder
bcrypt cookie-parser dotenv express jsonwebtoken mongoose nodejs validator
Last synced: about 2 months ago
JSON representation
The DevTinder Backend is a Node.js + Express application designed to connect developers, much like a professional matchmaking app for coders.
- Host: GitHub
- URL: https://github.com/2sagarraut2/devtinder
- Owner: 2sagarraut2
- Created: 2025-09-07T10:34:21.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-16T08:00:38.000Z (9 months ago)
- Last Synced: 2025-09-29T01:40:53.560Z (9 months ago)
- Topics: bcrypt, cookie-parser, dotenv, express, jsonwebtoken, mongoose, nodejs, validator
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π» DevTinder β Backend
A production-ready backend for **DevTinder**, an app designed to help developers connect, collaborate, and grow together. Built with **Node.js, Express, and MongoDB** following industry best practices.
---
## π Features
- π **Authentication & Authorization**
- Secure signup & login with JWT-based authentication
- Role-based access control for different user types
- π€ **Profile Management**
- Create, update, and delete user profiles
- Strong password validation & encryption using bcrypt
- π€ **Match System**
- Send, accept, or ignore connection requests
- Status-based notifications (e.g., βSagar is interested in Yogeshβ)
- βοΈ **Production-Ready Setup**
- Centralized error handling & validation middleware
- Environment variables managed with dotenv
- Modular routes & controllers for scalability
- ποΈ **Database**
- MongoDB with Mongoose for schema validation & queries
- Indexing for optimized lookups
---
## π οΈ Tech Stack
- **Backend**: Node.js, Express.js
- **Database**: MongoDB (Mongoose ODM)
- **Security**: Bcrypt, JWT, Helmet, Rate-limiter
- **Environment**: dotenv
---
## API Endpoints
### authRouter
- POST /signup
- POST /login
- POST /logout
### profileRouter
- GET /profile/view
- PATCH /profile/edit
- PATCH /profile/password
### connectionRequestRouter
- POST /request/send/:status/:userId
- POST /request/review/:status/:requestId
- GET /user/connection
- GET /user/requests/received
- GET /user/feed - gets you profile of other users on platform