# Thread App Clone

Welcome to the Thread App Clone! This application is a clone of a thread-based social media platform with various features such as real-time chat, profile updates, thread creation, image posting, post liking, and the ability to switch between light and dark themes.

Features

Real-time Chat

  • Engage in real-time conversations with other users.
  • Seamless and instant messaging.

Profile Updates

  • Update your profile information easily.
  • Add a bio to personalize your profile.

Thread Creation

  • Post threads to share your thoughts or initiate discussions.

Image Posting

  • Share pictures along with your threads.

Post Liking

  • Like posts from other users to show appreciation.

Theme Switching

  • Toggle between light and dark themes for a personalized experience.

Tech Stack

  • Frontend: React.js
  • Backend: Express.js, Node.js
  • Database: MongoDB
  • Real-time Communication: Socket.io
  • Authentication: JSON Web Tokens (JWT)
  • Image Storage: Cloudinary

Getting Started

  1. Clone the repository:

    : git clone https://github.com/Sompalkar/Thread-backend.git
    
    : npm install
    
    : npm start
    

The app should now be accessible at http://localhost:3000.

Configuration

MongoDB Setup

  1. Create a MongoDB database.

  2. Configure the connection in server/config/db.js.

Cloudinary Setup

  1. Sign up for a Cloudinary account.

  2. Configure your API key and cloud name:

    • Frontend: client/src/services/cloudinary.js
    • Backend: server/config/cloudinary.js

JWT Setup

  1. Configure your secret key for JWT in server/config/jwt.js.

Contributing

Contributions are welcome! Please follow the contribution guidelines.

License

This project is licensed under the MIT License.

Acknowledgments

Feel free to customize this README to include any additional information specific to your project!