A full-stack LinkedIn clone built with React (Vite) for the frontend and Node.js/Express with MongoDB for the backend. This project implements core social networking features such as posts, comments, likes, jobs, messaging, notifications, analytics, and more.
- User Authentication: Sign up, log in, and manage your profile.
- Posts & Comments: Create, edit, and comment on posts.
- Likes & Polls: Like posts and participate in polls.
- Jobs: Post jobs, apply for jobs, and view applications.
- Messaging: Real-time chat between users.
- Notifications: Get notified about important activities.
- Network: Connect and follow other users.
- Analytics: View analytics related to your activity.
- Profile Management: Add education, experience, and update your profile.
- Frontend: React, Vite, Zustand, React Hook Form, React Router, Recharts, React Toastify, Socket.io-client
- Backend: Node.js, Express, MongoDB, Mongoose, Socket.io, Cloudinary, JWT, Joi, Multer
- Other: ESLint, dotenv
- Node.js (v18+ recommended)
- npm or yarn
- MongoDB instance (local or cloud)
git clone git@github.com:aadityasingh9601/LinkedIn-clone.git
cd LinkedIn-clonecd Backend
npm install- Create a
.envfile in theBackenddirectory with your environment variables (e.g., MongoDB URL, JWT secret, Cloudinary keys (See env file on backend)).
cd ../Frontend
npm installcd Backend
node server.jscd ../Frontend
npm run dev- The frontend will typically run on http://localhost:5173
- The backend will typically run on http://localhost:8000 (or as configured)
LinkedIn-clone/
├── Backend/ # Express API, models, controllers, routes
└── Frontend/ # React app, components, assets, stores
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.