Details on LinkedIn [linkedin.com/in/foyzul] • Love to make videos [youtube.com/foyzulkarim] • Love to contribute open source [github.com/foyzulkarim] • Love to contribute on Facebook [facebook.com/foyzulsacademy]
Update stock history • Receive payment from customer • Update customer history • Update account balance • Update Sale state • Update customer history • Update stock history
Start Sale API Product API Stock API Customer API Transaction API Customer Message Handler Product Message Handler Stock Message Handler Transaction Message Handler Service identification and data flow for Sale Pay Sale Message Handler Read write Write Event Read
API Endpoints • It may split into two service depending on the need • Command APIs • Query APIs • Command and Query API may implement GraphQL or REST or gRPC mechanism depending on the need
• Need robust and reusable architecture • Technology: • ASP.NET API • SQL Server • Redis • Models • Sale, Sale detail, Sale state, Sale edit history • Project • Sale API • Sale message handler
Need robust architecture • Technology: • ASP.NET API (ASP.NET Identity) • SQL Server • Redis • Models • ASP.NET Identity models, Permission, Token • Project • Auth API