TechForPR / chefsForPR

Platform to manage the distribution of meals created by World Kitchen
http://chefs4pr.com
MIT License
3 stars 2 forks source link

20 - model for delivery #24

Closed dvidsilva closed 7 years ago

dvidsilva commented 7 years ago

Solves issue Number: #20

Description

Delivery reports are used to track what organizations are sending to people and be able to determine where more food is needed and how are populations being served.

Steps to Test or Reproduce

Make POST requests to /api/delivery with type json and data like:

{"data":{"districtName":"Colaboratorio 15","lastDayOfDelivery":"2017-10-25T00:00:00.000Z","numberOfMealsDelivered":100,"demandSuplyGap":"100 missing"}}