Skip to content

Bhupesh-aher/DevTinder-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Ό πŸ§‘β€πŸ’» DevTinder the social developer connection platform

πŸš€ DevTinder β€” a Tinder-style networking platform for developers to connect, chat, and collaborate in real-time.
🌐 Live Demo |


🧩 Overview

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.


βš™οΈ Tech Stack

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

✨ Core Features

βœ… 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


🧱 Folder Structure


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


πŸ”Œ Environment Variables

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.com

Your 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;

πŸš€ Getting Started

# 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

πŸ” Authentication Flow

  1. User registers or logs in via /api/auth
  2. JWT token is saved in localStorage
  3. Axios adds token to every protected API call automatically
  4. Redux persists user session across refresh

☁️ Deployment

Service Purpose
Vercel Frontend hosting
Render Backend hosting
MongoDB Atlas Database
Socket.io Real-time chat

🧭 Future Enhancements

  • Add message read receipts
  • Typing indicators in chat
  • Swipe-style matching UI
  • Developer badges based on skills
  • Global search across users

πŸ§‘β€πŸ’» Author

Bhupesh Aher πŸ”— GitHub Profile


πŸ“Έ Screenshots (Comming Soon)

βœ… Once you’ve pasted this into your DevTinder Frontend repo, I’ll send you the next one for WearWell (React + Strapi + Redux + Stripe).

About

πŸ§‘β€πŸ’» DevTinder the social developer connection platform frontend built with React, Tailwind CSS, Redux Toolkit, and Socket.io client β€” enabling real-time chat, developer matching, and interactive UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors