![Image](https://private-user-images.githubusercontent.com/113286019/320312295-5e8e5c55-93e6-461c-b913-7c978939a385.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4NjE4NzksIm5iZiI6MTcyMzg2MTU3OSwicGF0aCI6Ii8xMTMyODYwMTkvMzIwMzEyMjk1LTVlOGU1YzU1LTkzZTYtNDYxYy1iOTEzLTdjOTc4OTM5YTM4NS5qcGVnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTdUMDIyNjE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTljZWUxYjI1ZDdhM2Y5NmQxMTJlNzI3ZWViY2IzOGUyYjVkYWYyZTRlZDk5NjU3YjAwZDNjNDAxZTY0MjVmMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.9MI68v9Uqju9zMvFZHuQwo94RZGltDyCSAZjXWc3F1M)
- GraphQL
- Express.js
- Prisma
- NextJs
- Redis
- Tanstack
- PostgreSQL
- Google Auth
- Tailwindcss
- TypeScript
- jwt
- Amazon S3 for photos upload
-
Clone the repository:
git clone https://github.com/Akash1000x/X-Clone.git
-
nstall dependencies for both Frontend and Backend using Yarn::
yarn
-
Add PostgreSQL database URL and JWT secret to the Backend's .env file.
-
Generate Prisma Client by running the following commands on the Backend::
npx prisma migrate dev npx generate client
-
Add a .env file to the Frontend for the Google Client ID.
-
Run the development command on both Backend and Frontend:
yarn dev
-
Open the Clone in your web browser: http://localhost:3000/home
Feel free to contribute to the project. If you have suggestions or find any issues, please open an issue.