A lightweight clone of LinkedIn’s post, hashtag, and feed experience built with React, Redux Toolkit, and Material UI, using Firebase for backend services and secure user authentication.
This project replicates the essential social networking features with a clean, modern UI and real-time updates.
- Modern React app bootstrapped with Create React App + Redux Toolkit
- Global state management with Redux
- UI components styled with Material UI
- Firebase integration for hosting (and ready for Auth/Firestore if you connect them)
- Developer-friendly project setup and scripts
- React (CRA)
- Redux + Redux Toolkit
- Material UI
- Firebase (Hosting; optional Auth/Firestore)
- JavaScript, HTML, CSS
linkedin-clone/
├─ public/
├─ src/
│ ├─ app/ # store setup
│ ├─ components/ # reusable UI components
│ ├─ features/ # redux slices/features
│ ├─ pages/ # route-level views
│ ├─ styles/ # global styles
│ └─ index.js # app entry
├─ .firebaserc
├─ firebase.json
├─ package.json
└─ README.md
Note: Folder names may vary slightly—organize components/slices as you prefer.
- Node.js (LTS recommended)
- npm or yarn
- (Optional) Firebase project if you plan to use Auth/Firestore/Hosting
git clone https://github.com/ragini-pandey/linkedin-clone.git
cd linkedin-clone
npm install
# or
yarnCreate a .env file at the project root:
REACT_APP_FIREBASE_API_KEY=YOUR_API_KEY
REACT_APP_FIREBASE_AUTH_DOMAIN=YOUR_PROJECT.firebaseapp.com
REACT_APP_FIREBASE_PROJECT_ID=YOUR_PROJECT_ID
REACT_APP_FIREBASE_STORAGE_BUCKET=YOUR_PROJECT.appspot.com
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=YOUR_SENDER_ID
REACT_APP_FIREBASE_APP_ID=YOUR_APP_IDnpm start
# or
yarn startThe app will open at http://localhost:3000.
npm start # start dev server
npm test # run tests in watch mode
npm run build # production build
npm run eject # CRA eject (one-way)If you want to host this app on Firebase:
- Install the CLI:
npm i -g firebase-tools - Login:
firebase login - Initialize (once):
firebase init hosting(choose existing project) - Build:
npm run build - Deploy:
firebase deploy
The provided firebase.json and .firebaserc are already in place, so you can deploy quickly.
- Firebase Auth (Google sign-in)
- Firestore-backed posts, likes, comments
- Real-time updates
- Profile pages and connections
- Notifications and messaging UI

