GithubHelp home page GithubHelp logo

swarupkharul / rc-heimdall Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 1.12 MB

Heimdall is the gatekeeper for rc infrastructure, central to the entire portals.

License: MIT License

JavaScript 0.49% TypeScript 99.18% Dockerfile 0.33%

rc-heimdall's Introduction

Reverse Coding : Heimdall

Build Status Docker Image Version (latest by date) Docker Image Size (tag) Docker Pulls Docker Image Size (tag) GitHub GitHub contributors GitHub last commit GitHub commit activity GitHub issues GitHub pull requests Lines of code GitHub repo size Documentation Coverage

CodeFactor DeepScan grade Maintainability

Heimdall is the main micro-service that is responsible for user-management, ingestion of problems from endpoints, providing API endpoints for main user interface, interaction with task-runners, code submission and evaluation. Since this service basically handles all requests from the client, it's named Heimdall.

Description

Other Services

Architecture

https://rc-atlan-preview.vercel.app/assets/rc-arch.png

Running the app

There are two methods to run the application. First is by building the package locally and second is using the official docker image.

# clone the repository
git clone https://github.com/YashKumarVerma/rc-heimdall
cd rc-heimdall

# install dependencies
yarn install

# start development server
yarn start:dev

Running from docker requires a hosted postgres instance (you can use a docker container for the same, just configure the network accordingly). Also note that heimdall depends on judge0 and task-runner for it's operation. While testing, use something like webhook.site to listen for outgoing requests.

# fetch the latest published image
docker pull yashkumarverma/rc-heimdall

# launch a container in production mode 
docker run -d \
    -p 80:80 \
    --name heimdall \
    -e NODE_ENV='production' \
    -e DB_HOST='some-domain.postgres.database.azure.com' \
    -e DB_USERNAME='username@xyz' \
    -e DB_PASSWORD='secure-password' \
    -e DB_NAME='postgres'\
    -e JUDGE_ENDPOINT='http://127.0.0.1:1974' \
    -e JUDGE_CALLBACK='http://52.171.196.193/judge/callback'\
    -e RUNNER_ENDPOINT_EXEC='http://127.0.0.1:8000/run' \
    -e RUNNER_ENDPOINT_SEED='http://127.0.0.1::8000/sync' \
    yashkumarverma/rc-heimdall:latest

Open Source and Collaboration

Heimdall is (part of) a MIT licensed open source project. If there's a feature that you'd like to add to be added, please open a issue/feature request for the same. We'd be happy to ship more features as needed.

Events

If you are interested in organizing an event like Reverse Coding for your community / club / college / audience, feel free to reach out the author. To support events like these, we'd love to host the services free of cost for our fellow colleges.

rc-heimdall's People

Contributors

yashkumarverma avatar swarupkharul avatar anish0309 avatar rishabhkeshan avatar

Forkers

anish0309

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.