Skip to content

End to end application for spaceship order management using Flask

Notifications You must be signed in to change notification settings

soorykant/qube-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QUBE-RT Spaceship Rental Management Project

End to end application for spaceship rental management using Flask

Steps to be followed in order to run the app

  1. Clone this repository in your local machine.
  2. Change the directory
sooryakant@ideapad-5-pro:~/Documents$ cd qube-rt/
  1. Create a new virtual environment-
python -m venv env
  1. Activate the new virtual environment-
sooryakant@ideapad-5-pro:~/Documents/qube-rt$ source env/bin/activate
  1. Upgrade the python version if it is not 3.10
  1. Install the requirements-
(env) sooryakant@ideapad-5-pro:~/Documents/qube-rt$ pip install -r requirements.txt
  1. Run the app-
(env) sooryakant@ideapad-5-pro:~/Documents/qube-rt$ python app.py
  1. Open the URL in your favorite browser-
http://127.0.0.1:8080/
  1. Send the below data points as a input-
{
    "data": [
        {
            "name": "Contract1",
            "start": 0,
            "duration": 5,
            "price": 10
        },
        {
            "name": "Contract2",
            "start": 3,
            "duration": 7,
            "price": 14
        },
        {
            "name": "Contract3",
            "start": 5,
            "duration": 9,
            "price": 8
        },
        {
            "name": "Contract4",
            "start": 5,
            "duration": 9,
            "price": 7
        }
    ]
}

Submit the data and get the response.

About

End to end application for spaceship order management using Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published