Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 787 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 787 Bytes

Twitter Clone

A Twitter clone project using:

  • Authentication: GitHub login
  • Database & Auth: Supabase
  • Styling: Tailwind CSS
  • Frontend: Next.js & React
  • Language: TypeScript

Setup

  1. Clone the repo:
git clone https://github.com/tomy08/x-clone.git
  1. Install dependencies:
cd x-clone
npm install
  1. 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.

  1. Run the app:
npm run dev

The app will be available at http://localhost:3000.