Welcome to Threads! This is a full-stack social media application built with the MERN stack (MongoDB, Express.js, React.js, Node.js), Socket.io for real-time communication, and Chakra UI for beautiful user interfaces.
- Authentication & Authorization: Secure user authentication and authorization using JWT (JSON Web Tokens).
- Create Post: Users can create new posts to share with others.
- Delete Post: Allows users to delete their own posts.
- Like/Unlike Post: Users can like or unlike posts.
- Comment: Users can comment on posts.
- Follow/Unfollow Users: Follow or unfollow other users to stay updated with their activities.
- Freeze Account: Users can freeze their accounts temporarily.
- Dark/Light Mode: Provides a customizable interface with dark and light mode options.
- Completely Responsive: Fully responsive design ensuring seamless experience across devices.
- Chat App: Real-time chat functionality with support for images.
- Seen/Unseen Status: Indicates seen/unseen status for messages.
- Notification Sounds: Alerts users with notification sounds for important activities.
- Frontend: React.js, Chakra UI
- Backend: Node.js, Express.js
- Database: MongoDB
- Real-time Communication: Socket.io
- Authentication: JWT (JSON Web Tokens)
- Image Storage: Cloudinary (for image support)
- Clone the repository: git clone
https://github.com/SohamRoy-01/Threads-clone.git
- Navigate to the project directory: cd Threads-clone
- Create a .env file in the root directory and add the following environment variables:
PORT=...
MONGO_URI=...
JWT_SECRET=...
CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...
- Install dependencies: npm run build
- Build the app:
- Start the app: npm start
Contributions are welcome! If you have any suggestions, bug fixes, or new features to add, feel free to open an issue or create a pull request.