Database Systems 2022 term project (Software Engineering)
A full-stack web application for programming contests, inspired by EMKC. Uses Piston for code execution.
The main focus is on performing database queries. Many of the web development best practices were not followed for simplicity. For example, the passwords are stored as plain text in the database and all of the requests performed on the API endpoints are POST requests.
- NodeJS (>= 18)
- NPM
- MySQL (Docker images are ok)
- Clone the repository using
git clone cdinto the directory of the projectcdintosrc- Copy
db/config.js.sampleintodb/config.js - Edit
config.jswith your MySQL information - Run
npm installto install the node modules - Run
npm run initdbto initialize the database - Run
npm run migrateto apply the database migrations - Run
npm run apiandnpm run front - Access the website at
127.0.0.1:3000
Team members
- Omar Adel Abdel Hamid Ahmed Brikaa - 20206043
- Ahmed Wael Nagy Wanas - 20206008
- Adham Hazem Fahmy Shafhei - 20206011
- Ali Esmat Ahmed Orfi - 20206123
- Mootaz Medhat Ezzat AbdelWahab - 20206074