This is a Demo Implementation Of Baraaku Mini Banking
This project Uses latest .NET framework( .NET 6).
This Project adopt Containerization.
The Controller Implementation takes inspiration from Steve Ardalis API Endpoint Implemetation,this API Implementation
Uses Paystack Transfer Api
This Implementation makes use of Simple Basic Auth
Email serves as UserName and Password Remains Password
Every endpoint in Transaction Modules requires Auth
Following assumptions Were made during development
* For TopUp endpoint
* User have Already been debited by calling pastack Ui portal for transfer
* Only Notification of that Action would be sent to the backend(success or fail)
-
Switch to project root directory where docker compose file is located
-
Run the following command docker compose up
docker compose up
-
generated swagger file can be found on this Url
-
Create Account by calling this endpoint
-
Check the created Account On
-
Get Account balance for SignedIn User
** Transfer, Top Up and Get Balance Require Authenticatiom **
-
Topup Endpoint
localhost/api/Transaction/TopUp
-
Transfer Endpoint
localhost/api/Transaction/Transfer