This project aims to provide a simplified version of Vercel or Netlify, allowing users to submit their GitHub repository URLs for React projects along with the desired domain. The system will then hit an API server, which will spin up a Docker container from the image already uploaded to Azure Container Repository. The Docker container will clone the repository, perform npm install, and npm run build. Finally, the built files will be pushed to a storage bucket in Azure.
- User Submission: Users submit their GitHub repository URLs for React projects along with the desired domain via the provided interface.
- API Server: Upon submission, the system hits the API server with the provided information.
- Docker Container: The API server spins up a Docker container from the image already uploaded to Azure Container Repository.
- Cloning Repository: The Docker container clones the specified GitHub repository.
- Building: The Docker container performs npm install and npm run build to generate the build files.
- Storage: Finally, the built files are pushed to a storage bucket in Azure.
- Reverse proxy server: Now when the user will hit the server with "subdomain.deployfor.me", then the reverse proxy server will serve the respective build/static files from the storage bucket.