[][https://www.linkedin.com/in/sean-ashley/]
[
][https://www.linkedin.com/in/shivam-sh/]
[
][https://www.linkedin.com/in/giuseppelamonica/]
[
][https://www.linkedin.com/in/nicolas-palmar/]
This is the backend of the SIZR project, working to store users in the database and generate shoe recommendations
To use the app you need to interact with one of the endpoints at https://sizr-backend.azurewebsites.net/
To use the backend, you can interact with the endpoints on postman.
Here is how to use each one.
ENTER https://sizr-backend.azurewebsites.net/adduser in Postman Make sure method is set to post. Go to raw, and make sure it is set to JSON.
In the body, pass a JSON object looking something like this
{
"username" : "seanashley",
"length" : 28.5,
"width" : 10.5,
"gender" : "m",
"like_bigger_fitting_shoes" : true,
"like_smaller_fitting_shoes" : false,
"min_price" : 50,
"max_price" : 150
}
Send the postman request and it should return the user, showing that this has succeeded
ENTER https://sizr-backend.azurewebsites.net/recommendshoes in Postman Make sure method is set to post. Go to raw, and make sure it is set to JSON.
In the body, pass a JSON object looking something like this
{
"username" : "seanashley"
}
The backend will then return a json looking something like this for example, with the top recommended shoes and sizes
{"index":{"0":11,"1":15,"2":18},"name":{"0":"DON Issue 1","1":"Mamba Focus","2":"Harden
Stepback"},"brand":{"0":"Adidas","1":"Nike
","2":"Adidas"},"price":{"0":99.99,"1":99.99,"2":79.99},"size_shift":{"0":0.5,"1":0.5,"2":0.5},"picture":{"0":"pictures\/don-issue-1.png","1":"pictures\/mamba-focus.png","2":"pictures\/adidas-Harden-Stepback.jpeg"},"US
Size":{"0":8.0,"1":8.0,"2":8.0}}
Distributed under the Apache License. See LICENSE for more information.
Sean Ashley - sean.d.ashley@gmail.com Joseph Lamonica - g.lamonica02@gmail.com Nicolas Palmar - nicolas.palmar8@gmail.com Shivam Sharma - shivam.sharm@icloud.com