This project is a clone of Vercel that allows users to log in and deploy their websites using their GitHub repository URL.
You can access the website here: link
Email: [email protected]
Passward: TestUser@123
- Node.js
- Express
- MongoDB
- Redis
- Supabase
- React
- Docker
This project consists of three servers:
- API Server:
-
Handles user requests such as login and project creation.
-
Pushes GitHub repository information to a Redis queue for further processing.
- Builder Server:
-
Clones the GitHub repository.
-
Builds the project.
-
Uploads the built project to a Supabase bucket for hosting.
- Deployment Server:
-
Manages web requests.
-
Uses reverse proxies to serve the deployed websites.
-
User Authentication:
-
Users can log in to their accounts.
-
Secure and scalable authentication mechanism.
-
-
Website Deployment:
- Users can deploy their websites by providing their GitHub repository URL.
-
Automated Build Process:
- Repositories are automatically cloned, built, and uploaded to the hosting bucket.
-
Reverse Proxy for Web Requests:
-Efficient routing and handling of web requests using a reverse proxy system.
git clone https://github.com/nk1044/Vercel_Clone.git
cd Vercel_Clone
Create a .env file with the required configuration:
-
MongoDB URI
-
Redis configuration
-
Supabase API keys
-
Other necessary credentials
Open your browser and go to http://localhost:5173.
-
The API server pushes the repository to a Redis queue.
-
The Builder server picks it up, clones the repo, builds it, and uploads the output to Supabase.
- The Deployment server sets up reverse proxies to serve the website from the Supabase bucket.