Programming

April 10, 2023

by Administrator

Wallet is a payment solution built on C# running on .Net 7.0 and using the MSSQL database. It is designed to handle requests from API clients and process them via the BusinessCore.

The system comprises several components, including Newtonsoft.Json, Hangfire, EntityFrameworkCore, ClosedXML, CloudinaryDotNet, and AutoMapper. These components are essential in manipulating JSON, scheduling tasks, exporting data to Excel, file storage, and object-object mapping.

The API consists of various endpoints: Account, Admin, Currency, Notification, User, and Wallet. These endpoints handle requests such as login, change password, admin login, user activation, deactivation, download transactions, and credit/debit wallet.

The database design uses Microsoft SQL Server and has several tables, including Admins, Audits, Currencies, InterestPayables, Notifications, Transactions, Users, and Wallets.

The code is analyzed using Visual Studio Code Metrics to calculate the maintainability index, cyclomatic complexity, class coupling, depth of inheritance, and lines of code. The API has a maintainability index of 61, cyclomatic complexity of 91, class coupling of 2, depth of inheritance of 134, and lines of code of 745. The CoreObject has a maintainability index of 96, cyclomatic complexity of 230, class coupling of 3, depth of inheritance of 23, and lines of code of 463. The BusinessCore has a maintainability index of 80, cyclomatic complexity of 455, class coupling of 2, depth of inheritance of 170, and lines of code of 1877.

Wallet is a payment solution with a robust system architecture and well-designed components. It is built to handle payment transactions efficiently and securely, making it a reliable solution for businesses looking for a payment gateway.


Source Code

https://github.com/yomiolatunji/Wallet



Comments

Your email address will not be published. All fields are required

Comment*
Name *
Email *
gqmDIdSlxLYKeB
May 18 2024, 07:30 PM

ykxQAonGblDI

UvasFoHPfZKqnQGV
May 22 2024, 05:30 AM

aRfUQyeThNxnAg

QhYJXZkVUbliGKv
May 25 2024, 10:25 PM

hjFeDKRgrkimVLB

mZHFWyaLVpUhtJe
May 27 2024, 03:52 PM

sikHqjvng

aHjTVsNuoiL
May 29 2024, 03:02 PM

nVowAPKXhDZze

tdZWkYLsyqO
Jun 03 2024, 10:07 AM

tYRNxmCylsHLMq

tdZWkYLsyqO
Jun 03 2024, 10:07 AM

tYRNxmCylsHLMq

mfOZGMJn
Jun 13 2024, 07:35 AM

OyUjeSWkDbKXI

ypEutTiGmxfhDO
Jun 16 2024, 03:23 PM

mGVTyIbWudzivRBk