A Twitter clone project using:
- Authentication: GitHub login
- Database & Auth: Supabase
- Styling: Tailwind CSS
- Frontend: Next.js & React
- Language: TypeScript
- Clone the repo:
git clone https://github.com/tomy08/x-clone.git
- Install dependencies:
cd x-clone
npm install
- Configure environment variables:
Create a .env.local file at the project root and add:
NEXT_PUBLIC_SUPABASE_URL=YOUR_NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_ACCESS_TOKEN=YOUR_SUPABASE_ACCESS_TOKEN
Make sure to obtain GitHub and Supabase keys.
- Run the app:
npm run dev
The app will be available at http://localhost:3000.