A Software as a Service (SaaS) project that enables users to solve complex problems by running their code and inputs on our solver. Users can purchase credits to access solver resources and store their problem code, input, and results online.
-
Purchase Credits for Problem Solving
-
Submit Problems for Solution
-
Display List of Submitted/Solved Problems
-
Display Statistics of Submitted/Solved Problems
-
kafkajs (npm install kafkajs)
-
mongoose (npm install mongoose)
-
Express (npm install express)
-
Express-Sessions (npm install express-session)
-
Body-Parser (npm install body-parser)
-
Multer (npm install multer). For uploading files.
- nodemon (npm install nodemon --save-dev)
Setup Guide:
-
Install Docker: Docker is required for this project. If you don't have it installed, download and install Docker from here.
-
Installation Instructions:
Clone the repository by running the following command in your terminal:
git clone https://github.com/ntua/saas2024-03.git cd saas2024-03Then check the package.json file, if all dependencies and devdependencies above are included. If things are right continue.
docker compose up --wait sudo docker compose up --wait- Access the server:
http://localhost:3000- Usage:
You can upload code in Python (.py) format and input files in JSON (.json) format. To get started, visit the "Code and Input Example" directory where you can find example files to try yourself!
