Skip to content

akshitgrover/Reverse_Coding_Portal

Repository files navigation

Reverse Coding Portal

What Is Reverse Coding?


Reverse Coding, It is a coding event conducted by ACM VIT Student Chapter, With Two Rounds, Round 1 was conducted on Codechef. Round 2 was conducted on rc.acmvit.in.

Round 1 was normal coding competition, Round 2 is where reverse coding comes into play, In Round 2 Participants were given binary executable files using which they have to give some inputs and based on the output they get on the terminal they have to guess the code and submit the code file (eg: .py, .c , .java etc.) on rc.acmvit.in Developed By ACM VIT Student Chapter.

What is this repo about?


This repository holds the backend part of the Portal developed by ACM VIT Student Chapter.

Backend Controllers:


  • Question Controller
  • Create Question (admin)
  • Upload Code File (Participant)
  • Download Uploded Code Files (admin)
  • Get Question Code Files (Participant)
  • Get Question (Participant) (One Question Added After Every 3 Hours)
  • Team Controller
  • Create Team
  • Login
  • Logout
  • Get Team Details (Admin)
  • Get Team Score (Admin)
  • Put Score (admin)
  • Mark Team Answer (admin) (To Check If Any New Submissions)

Packages Used:


Docker Support:


Reverse Coding Portal Was a big project to make sure everything wokrs fine when integrated with frontend and when taken into production, App was Dockerized.

Dockerfile:
Dockerfile is used to build the image of this api.

docker-compose.yml
docker-compose.yml is used to deploy the stack (Sails API && MongoDb) in docker swarm when taken into production (DigitalOcean Cloud)