Giter Site home page Giter Site logo

justdeploy's Introduction

JustDeploy ๐Ÿƒ

JustDeploy is a backend system that emulates Vercel's project deployment functionality. This project is designed as a learning exercise to enhance software engineering skills.

Project Architecture ๐Ÿ—๏ธ

View Architecture

Project Structure ๐Ÿ“‚

  • api-server:

    • Manages API requests
    • Subscribes to redis-queue for build logs
    • Spins up a container per project on AWS
  • build-server:

    • Clones projects from GitHub
    • Handles build processes
    • Publishes logs to redis-queue
  • s3-reverse-proxy:

    • Redirects user requests to files in S3 bucket

Prerequisites โœ๏ธ

  • Node.js (v14 or later)
  • npm (v6 or later)
  • Docker
  • AWS account with ECR and ECS set up

Installation ๐Ÿ“€

  1. Clone the repository:
git clone https://github.com/git-pixel22/JustDeploy.git
cd JustDeploy
  1. Install dependencies for each service:
cd <service> // example: cd api-server
npm install

Usage ๐Ÿ’

  1. Start the API server:
cd api-server
npm start
  1. Start the S3 reverse proxy:
cd s3-reverse-proxy
npm start

Note: Make sure you have built and pushed the docker container image to AWS ECR, and have ECS set up correctly to use it.

Credits ๐Ÿง‘โ€๐Ÿซ

I was able to learn all this amazing stuff thanks to Piyush Garg, Mehul Mohan and Harkirat Singh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.