This application generates dream list-based shopping suggestion lists and how much you can spend on that purchase.
$ git clone [email protected]:CarlosQuixada/Conscious-Shopping-List-Generator.git
$ cd Conscious-Shopping-List-Generator
$ pip install -r requirements.txt
$ python run.py
- Visit the app at http://localhost:5000/
git clone [email protected]:CarlosQuixada/Conscious-Shopping-List-Generator.git
$ cd Conscious-Shopping-List-Generator
$ docker build -t cslg .
$ docker run -p 5000:5000 cslg
- Visit the app at http://localhost:5000/
To generate purchase suggestion list you must send a POST to endpoint /generate-list
with the following format:
{
"limit": 100.10,
"dreams": [
{
"name": "product name",
"price": 50.00
},
{
"name": "product name",
"price": 60.50
},
{
"name": "product name",
"price": 10.00
}
]
}
Built by Carlos Quixadá