A modern fullstack Twitter clone built with GraphQL and Next.js. Tweet, like, reply, follow users, and explore a clean UI powered by modern web technologies.
- π§βπ» Authentication (JWT + Cookies)
- π Post Tweets, Replies, and Threads
- β€οΈ Like Tweets
- π€ User Profiles
- π Follow/Unfollow Users
- π Explore Feed
- π GraphQL API (code-first with type safety)
- π Beautiful responsive UI with Tailwind CSS
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 (App Router) |
| API Layer | GraphQL (codegen + graphql-request) |
| Backend | Express Js with Apollo Graphql Server |
| Database | PostgreSQL |
| ORM | Prisma |
| Auth | JWT + HTTP-only cookies |
| UI | Tailwind CSS |
| Codegen | GraphQL Code Generator |
| Deployment | Vercel ,Google CloudRun |
git clone https://github.com/your-username/twitter-clone.git
cd twitter-clone
## setup Frontend
cd client
npm i
npm run dev
## setup Backend
cd server
npm i
# setup prisma client
npx prisma generate
# start server
npm run dev