DiptoChakrabarty / flask-online-store

An online e commerce stores management and order placing system API built using flask and sqlalchemy . Various functionalities present and further functionalities being added to make it as real life as possible . Contributions welcome .
MIT License
49 stars 23 forks source link

Fixed order input to accept quantity along with item name #13

Closed pulkitsapra closed 4 years ago

pulkitsapra commented 4 years ago

Fixes #5

example input in JSON after the fix .

{
    "items":[
          {
            "name":"potato",
            "qty": 5
          },
          {
            "name":"tomato",
            "qty": 5
          }
    ]
}
DiptoChakrabarty commented 4 years ago

Thanks for the contributions , merged . If you like the project please do star it , I will be working on this more and also might put up further issues that I wish to implement .