Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 691 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 691 Bytes

authorizer

Architecture

In this project, I tried to apply hexagonal architecture paradigms, such as dividing adapters into primary (driver) and secondary (driven).

In a nutshell, I believe the authorization process could be broken into two parts, which is what I tried to make clear. The first one would be the one that tells me if I have the balance for the operation and the second one that says if I can spend, called respectively as ledger and spending control.

Libs

Build

make build

Run

make run < 'YOUR_FILE'