Skip to content

raysandeep/Knockouts-Backend

Repository files navigation

Knockouts Backend

A Competitive Coding Portal Backend


DOCS UI

Link for Frontend Repo : Knockouts-Frontend

Functionalities

  • Run Code
  • Submit Code
  • Check Score
  • Auto Assign Rooms
  • Create Rounds
  • Adding multiple members to room
  • Disqualify and qualify people automatically
  • Google and Github OAUTH

Database ER Diagram

ER_Diagram

Instructions to run

  • Pre-requisites:

    • Docker
    • Python
    • GOOGLE RECAPTCHA SETUP
    • Firebase Project for Authentication
    • JudgeAPI Self Deployed server for Run and Submit Code
  • Directions to install

    • Place your Firebase Config file in app dir as knockoutsfb.json
    • Deploy Judge API
    • Navigate to traefik.toml file and configure domain and email. For changing default password check this out
    • Before deploying configure DNS with a CNAME Address pointing to the server's IP. By default Traefik is configured to HTTPS.
    • For running in localhost ignore the above two steps
    • Fill your Frontend Host Details in settings.py file for CORS.
    • Fill all your env variables using the below commands.
    • Use test_case_tester.py file to test uploaded testcases.
    • Use questions.ipynb file to replicate questions and testcases
cp example.env .env
nano .env 
  • Directions to execute
docker-compose build
docker-compose up -d
docker exec -it traefik sh
chmod 600 acme.json

After this step Traefik will request for SSL Certificate and it will be stored in acme.json file

Contributors

Sai Sandeep Rayanuthala

Backend

Sai Sandeep Rayanuthala

Amogh Lele

Deployment

Amogh Lele



Made with ♥️ by DSC VIT

About

A Competitive Coding Portal Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published