The Twitter Clone is a full-stack web application built using Next.js, Tailwind CSS, and Supabase. It allows users to register and log in, create and delete tweets, like and unlike tweets, follow and unfollow other users, view user profiles, and search for tweets and users.
- User registration and login
- Create and delete tweets
- Like and unlike tweets
- Follow and unfollow users
- View user profiles
- Search for tweets and users
To get started, follow these steps:
-
Clone the repository:
git clone https://github.com/harsh661/Twitter-clone.git
-
Install dependencies:
npm install
-
Create a
.env.local
file and add your Supabase credentials:NEXT_PUBLIC_SUPABASE_URL=https://your-url.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to view the app.
To deploy the app, you can use platforms like Vercel, Netlify, or Heroku. Make sure to set the environment variables in your hosting platform's settings.
This project is licensed under the MIT License.