A full-stack Twitter clone built with: Next.js, Prisma, Supabase, TanStack Query, shadcn/ui, and TailwindCSS.
- Social authentication via google and github
- Create, delete, like, repost and bookmark posts
- Infinite scrolling and dynamic routing
- Profile editing and image uploads
-
Clone the repository:
git clone https://github.com/alihamasdev/twitter-clone.git
-
Install dependencies:
bun install
-
Configure environment variables:
- Copy
.env.example
to.env
and fill in your Supabase and database credentials.
- Copy
-
Run database migrations:
bunx prisma migrate dev
-
Start the development server:
bun dev
src/
— App source codeprisma/
— Prisma schemapublic/
— Static assets.env
— Environment variables
Feel free to fork and submit pull requests. See CONTRIBUTING.md for guidelines.
Explore the codebase and contribute at GitHub Repository