A fully functional Instagram clone built with MERN Stack (MongoDB, ExpressJS, React & NodeJS) and with real-time private messaging using WebSockets.
- Real-time chat with private messages
- Data caching with background updates
- Edit profile
- Edit avatar
- Follow and unfollow users
- Create and delete posts
- Like posts using optimistic updates
- Save posts using optimistic updates
- Add comments to the posts
- Search other users by name or username
- View posts only from users you follow
- View posts from all users
- Fully responsive for mobile and desktop
- NodeJS & Express
- JWT Authentication (using Passport)
- MongoDB
- WebSockets
- React
- React Router
- React Hook Form
- React Query
- Cloudinary (image upload)
- Chakra UI
- WebSockets
-
Clone the project
-
Install all dependencies
npm install
-
Start your MongoDB
-
Rename .env.example to .env and configure environment variables
-
Run server
npm run start