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.
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.
- Clone the repository
- Install dependencies using npm install
- 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
- Run the server using npm start
- Access the application at http://localhost:3000