![Image](https://private-user-images.githubusercontent.com/113286019/320312295-5e8e5c55-93e6-461c-b913-7c978939a385.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NDc3MjEsIm5iZiI6MTcyNDQ0NzQyMSwicGF0aCI6Ii8xMTMyODYwMTkvMzIwMzEyMjk1LTVlOGU1YzU1LTkzZTYtNDYxYy1iOTEzLTdjOTc4OTM5YTM4NS5qcGVnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMjExMDIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTljZDUzZjAwMzRkMzAwYmFlOGMzODZmMjVmMTQ0MmFiYTIxM2UwNDc1YTA1NGMwNjUyZTllMzEzYTVlZDg4NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Zb9jfHJfBMzar_igHCIsLnb0tFlHfdMs0ybv3sE51_I)
- 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.