gittech. site

for different kinds of informations and explorations.

LeetCode Twitter

Published at
Dec 22, 2024

# LeetCode Twitter 🐦

Welcome to LeetCode Twitterβ€”a social media site inspired by a LeetCode design problem! Yes, it started as a joke, but now it’s a functional (and fun) project. πŸŽ‰

🎯 Project Background

While solving the Design Twitter problem on LeetCode, I thought:

β€œWouldn't it be funny if someone actually implemented this code as a functional social media site?”

So here we are. This project takes the solution from the problem and turns it into a simple, working social media platform. It's what you'd call a meme project, but with real code and real functionality. 😎

πŸš€ Features (Will Support)

The project currently has the base functionalities outlined in the LeetCode problem:

  • Post a Tweet: Users can post tweets.
  • Follow/Unfollow: Users can follow and unfollow each other.
  • View News Feed: Displays the 10 most recent tweets from the user and people they follow.

πŸ’‘ How to Run

  1. Clone the repository:
    git clone https://github.com/yeonholee50/LeetCodeTwitter.git
    cd LeetCodeTwitter
    
  2. Install dependencies (if any):
    npm install
    
  3. Run the application:
    npm start
    
    Open your browser and navigate to http://localhost:3000 to see the app in action.

🀝 Contributing

Contributions are welcome! Feel free to open issues or pull requests. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Open a pull request to the main repository.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.