DelegateIt / OrderAPI

The backend API for all of the DelegateIt clients
3 stars 0 forks source link

Integrate Postmates API #97

Open georgeaf99 opened 8 years ago

georgeaf99 commented 8 years ago

We need to have generic API endpoints that support the chosen backend for a service. When integrating the postmates API we need to have the following endpoints:

/delivery/get_quote /delivery/create_delivery /delivery/status_change

We also need to have a table in the database for outstanding deliveries. This table will have a transaction_uuid as hash key and timestamp as a range key.

georgeaf99 commented 8 years ago

The original decision was to create multiple micro-services for each of these new components. For now, it would incur a great deal of overhead to attempt to put our service on different EBS environments. However, it is important that it is easy to separate delivery.py and run it as its own micro-service in the future.

georgeaf99 commented 8 years ago

Delegators should be able to create receipts using the quote they received from postmates.py and only actually schedule the delivery when the quote has been paid for in full.

georgeaf99 commented 8 years ago

To Do:

Optional/Discuss More: