Overview
API that would be used on the dashboard and mobile application.
<aside>
ℹ️
For a full system overview please refer to Software Overview .
</aside>
Services
<aside>
ℹ️
Services marked RED are the MVP of the application.
</aside>
Account Service
Service to manage application’s account. Those tasks includes:
- Account CRUD
- Account authentication and authorization
Inventory Service
Service to manage store’s inventory. To expand on that, their tasks are:
- Goods CRUD - Remember goods have bulk price (i.e. buying 5 is cheaper than only buying 1). Maybe make price a table on its own with qty and price
- Stock intake/withdrawal - Adding or removing goods, update wallet when flag is set. There is a completed system (draft)
- Goods price history. When updating put them on historical table
Wallet Service
Service to manage store’s finance. It jobs are:
- Keep track cash’s value
- Adding/Removing cash from wallet
<aside>
ℹ️ Make it strong consistency
</aside>
Analytic Service