Skip to content

alihamasdev/twitter-clone

Repository files navigation

TWITTER CLONE

Twitter Clone

A full-stack Twitter clone built with: Next.js, Prisma, Supabase, TanStack Query, shadcn/ui, and TailwindCSS.

Next.js React.js Supabase Prisma TanStack Query Typescript Bun Tailwindcss shadcn/ui Vercel

Features

  • Social authentication via google and github
  • Create, delete, like, repost and bookmark posts
  • Infinite scrolling and dynamic routing
  • Profile editing and image uploads

Getting Started

  1. Clone the repository:

    git clone https://github.com/alihamasdev/twitter-clone.git
  2. Install dependencies:

    bun install
  3. Configure environment variables:

    • Copy .env.example to .env and fill in your Supabase and database credentials.
  4. Run database migrations:

    bunx prisma migrate dev
  5. Start the development server:

    bun dev

Project Structure

  • src/ — App source code
  • prisma/ — Prisma schema
  • public/ — Static assets
  • .env — Environment variables

Contributing

Feel free to fork and submit pull requests. See CONTRIBUTING.md for guidelines.


Explore the codebase and contribute at GitHub Repository

About

Full stack twitter clone with next.js, prisma, supabase, tanstack-query, shadcn/ui and tailwindcss.

Topics

Resources

Contributing

Stars

Watchers

Forks