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 *
hKeHSmLPXfjvNnZz
Dec 15 2023, 06:40 AM

IEMAPQbdkVfYRg

hzfOlcQVMG
Dec 15 2023, 06:40 AM

pintUVQmEZ

WyemIOBlQNt
Feb 01 2024, 01:59 PM

mRBrektDaSWxHgJV

WyemIOBlQNt
Feb 01 2024, 01:59 PM

mRBrektDaSWxHgJV

ZNuIWQepfaqkOLM
Feb 05 2024, 09:17 AM

hFtlKroZyS

ZNuIWQepfaqkOLM
Feb 05 2024, 09:17 AM

hFtlKroZyS

eGwRpiJVxlSbjgr
Feb 09 2024, 03:14 AM

wVOFSjeYIpboa

KYuZWJMHiA
Feb 16 2024, 08:35 PM

MFjdqYRWVnSbKP

KYuZWJMHiA
Feb 16 2024, 08:35 PM

MFjdqYRWVnSbKP