π DevTinder β a Tinder-style networking platform for developers to connect, chat, and collaborate in real-time.
π Live Demo |
DevTinder Frontend is a responsive, interactive React app that connects to the DevTinder Backend API.
It allows users to register, explore developers, send connection requests, and chat live β powered by Socket.io and Redux Toolkit for state management.
| Layer | Technology |
|---|---|
| Frontend Framework | React.js (Vite) |
| State Management | Redux Toolkit |
| Styling | Tailwind CSS |
| Real-Time Communication | Socket.io Client |
| API Requests | Axios |
| Routing | React Router DOM |
| Notifications | React Toastify |
| Hosting | Vercel |
β
Authentication (Login / Register) with JWT tokens
β
Dynamic Developer Feed β Swipe-style connections
β
Real-Time Chat System with Socket.io
β
Live Connection Updates (send, receive, accept requests instantly)
β
Profile Page with editable skills, experience, and about info
β
Global Redux State for user, chat, and connections
β
Protected Routes β Auto redirect to login if token missing
β
Dark Mode Ready (extendable via Tailwind)
β
Fully Responsive UI β Optimized for mobile & desktop
DevTinder-Frontend/
β£ src/
β β£ components/ β Reusable UI components (Navbar, ChatBox, etc.)
β β£ features/ β Redux slices (auth, users, chat, etc.)
β β£ pages/ β All route pages (Login, Register, Home, Chat)
β β£ utils/ β Helper utilities (date formatting, etc.)
β β£ api/ β Axios instance setup
β β£ socket.js β Socket.io client connection
β£ public/
β£ .env
β£ vite.config.js
β£ tailwind.config.js
β README.md
Create a .env file in the root of your project:
# Local Development
VITE_API_BASE_URL=http://localhost:5000/api
VITE_SOCKET_URL=http://localhost:5000
# Production (Vercel)
VITE_API_BASE_URL_PROD=https://devtinder-backend.onrender.com/api
VITE_SOCKET_URL_PROD=https://devtinder-backend.onrender.comYour axiosInstance.js will automatically pick the right one:
const baseURL =
import.meta.env.MODE === "development"
? import.meta.env.VITE_API_BASE_URL
: import.meta.env.VITE_API_BASE_URL_PROD;# 1οΈβ£ Clone the repo
git clone https://github.com/<your-username>/DevTinder-Frontend.git
cd DevTinder-Frontend
# 2οΈβ£ Install dependencies
npm install
# 3οΈβ£ Run locally
npm run dev
# 4οΈβ£ Build for production
npm run build- User registers or logs in via
/api/auth - JWT token is saved in localStorage
- Axios adds token to every protected API call automatically
- Redux persists user session across refresh
| Service | Purpose |
|---|---|
| Vercel | Frontend hosting |
| Render | Backend hosting |
| MongoDB Atlas | Database |
| Socket.io | Real-time chat |
- Add message read receipts
- Typing indicators in chat
- Swipe-style matching UI
- Developer badges based on skills
- Global search across users
Bhupesh Aher π GitHub Profile
β Once youβve pasted this into your DevTinder Frontend repo, Iβll send you the next one for WearWell (React + Strapi + Redux + Stripe).