This is Full Stack Twitter Clone. Built with the Next.js 13, GraphQL, Redis, TypeScript,Tailwind, PostgreSQL
To get a local copy up and running, please follow these simple steps.
Here is what you need to be able to run Full Stack Twitter clone
Node.js (Version: >=18.x)
PostgreSQL
----- Run Backend -----
git clone https://github.com/Rana-Paul/Twitter-Clone.git
Go to the project folder
cd server/
Install packages with npm
npm install
add env Variables
Duplicate .env.example
to .env
migrate prisma file
npx prisma migrate dev
Run (in development mode)
npm run dev
----- Run Frontend -----
cd client/
install npm packages
npm install
Run (in development mode)
npm run dev
Frontend: http://localhost:3000
Backend: http://localhost:8000/graphql
docker-compose up -d
Frontend: http://localhost:3000
Backend: http://localhost:8000/graphql