Skip to content

Arnab-31/Twitter-2.0

Repository files navigation

Twitter 2.0

This is a Twitter clone project that aims to replicate some of the key features of the popular social media platform. Users can create a tweet, like a tweet, delete a tweet, join a community, and tweet inside a community.

Features

Creating a Tweet: Users can create a tweet by entering text and clicking the "Tweet" button. The tweet will be posted to the user's profile and will be visible to their followers.

Liking a Tweet: Users can like a tweet by clicking the heart icon on the tweet. The tweet's like count will be incremented and the user's like will be registered.

Deleting a Tweet: Users can delete their own tweet by clicking the trash can icon on the tweet. The tweet will be removed from the user's profile and will no longer be visible to their followers.

Joining a Community: Users can join a community by clicking the "Join" button on the community page. Once they join a community, they will be able to see the tweets posted by other members of the community.

Tweeting Inside a Community: Users can tweet inside a community by selecting the community from a dropdown menu when creating a tweet. The tweet will be posted to the user's profile and will also be visible to other members of the selected community.

Installation

  1. Clone the repository
  2. Install dependencies using npm install
  3. Create a .env file with the following variables: GOOGLE_CLIENT_SECRET: the secret key for your google auth GOOGLE_CLIENT_ID: the client id for your google auth
  4. Run the server using npm start
  5. Access the application at http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published