This repository contains a web UI for interacting with the WalletApi, which is an n-tier application located at WalletApi. The WalletWeb project consumes the WalletApi using .NET's System.Net.Http.HttpClient
to perform authentication and transactions.
Before running the WalletWeb project, make sure you have the following installed:
- Visual Studio 2019
- SQL Server 2019
To run the WalletWeb project locally, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/coommark/WalletWeb.git
-
Open the solution file
WalletWeb.sln
in Visual Studio 2019. -
Set up the connection string in the
appsettings.json
file. Modify theDefaultConnection
section with your SQL Server credentials:
"ConnectionStrings": {
"DefaultConnection": "Server=<server>;Database=<database>;User Id=<user>;Password=<password>;"
}
Replace <server>
, <database>
, <user>
, and <password>
with your SQL Server details.
-
Build the solution to restore dependencies and compile the project.
-
Run the project using Visual Studio's debugging feature.
-
The WalletWeb application should now be running locally. Open your web browser and navigate to the following URL:
http://localhost:<port>
Remember to replace <port>
with the appropriate port number where the application is running.
Please note that this repository is designed to work in conjunction with the WalletApi. Ensure that the WalletApi is running and accessible before using the WalletWeb application.