Skip to content

sudipb7/x-clone

Repository files navigation

X Clone

Replica of you favorite social media platform of X (Previously known as Twitter). Post tweets, Customize your profile, follow people, notifications and many more.

Deployed Link🔗

Images

Hero

Hero

Profile

Profile

Tech Stack

  • NextJS
  • ReactJS
  • TypeScript
  • Prisma
  • Next-Auth
  • MongoDB
  • Tailwind CSS

Implementations

  • Authentication
  • Protected routes
  • Custom hooks
  • Vercel analytics & speed insights
  • Image upload
  • CRUD operations
  • API creation
  • Data fetching
  • Loading states
  • Customizable modals
  • Reusable and customizable components

Setting up locally

1. Clone on your local machine

https://github.com/sudipb7/x-clone.git

2. Install dependencies

npm install

3. Add environment variables to your .env file

DATABASE_URL="mongodb+srv://<username>:<password>@cluster0.mscaygz.mongodb.net/X-Clone"
NEXTAUTH_SECRET="<YOUR_NEXTAUTH_SECRET>"
NEXTAUTH_JWT_SECRET="<YOUR_NEXTAUTH_JWT_SECRET>"
NEXT_PUBLIC_BASE_URL="http://localhost:3000"

4. Run on your local server

npm run dev

Connect with me

Twitter

LinkedIn

Instagram

Releases

No releases published

Packages

No packages published

Languages