Skip to content

dimstathis/solve-my-problem

Repository files navigation

NTUA ECE SAAS 2024 PROJECT

TEAM (03)

Image Description

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.

Features

  • Purchase Credits for Problem Solving

  • Submit Problems for Solution

  • Display List of Submitted/Solved Problems

  • Display Statistics of Submitted/Solved Problems

    Dependencies

  • 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.

    DevDependencies

    • nodemon (npm install nodemon --save-dev)

    Setup Guide:

  1. Install Docker: Docker is required for this project. If you don't have it installed, download and install Docker from here.

  2. Installation Instructions:

Clone the repository by running the following command in your terminal:

Clone the repository

  git clone https://github.com/ntua/saas2024-03.git

Navigate into the project directory

  cd saas2024-03

Then check the package.json file, if all dependencies and devdependencies above are included. If things are right continue.

Build and start the docker containers (for Windows)

  docker compose up --wait
(for linux)
    sudo docker compose up --wait
  1. Access the server:

After setting up the project, the server will be available at:

http://localhost:3000
  1. 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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5