Skip to content

Nayeem170/IntusWindows-Sales.APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this application

This is a Blazor WebAssembly application that displays data from a database through a user interface. For the backend functionality, we have integrated it with a .NET API. The application interface has been designed using MatBlazor. We have used SQL Server as the database. You can manipulate orders within the application as we have already provided the seed data with the migration. Once you run the application, you can experiment with it.

Required tools:

Running Instructions:

  1. Clone the git repository using this link: https://github.com/Nayeem170/IntusWindows-Sales.APP

Git clone

  1. Switch to the develop branch

develop branch

  1. Go to the SalesSolution folder, then Double-click on the SalesSolution.sln file to open the project in Visual Studio

SalesSolution.sln

  1. Update the database connection string (SalesDBConnection) in the SalesSolution\Sales.Api\appsettings.json file

SalesDBConnection

  1. Set Sales.API as the startup project

startup project

  1. Open the Package Manager Console

Package Manager Console

  1. Select Sales.DAL from the default project, and run the migration command, "Update-Database"

Package Manager Console

  1. Ends of succeful migration you will see Done ends of it

Done

  1. Right-click on the SalesSolution, then select Configure Startup Project

Configure Startup Project

  1. Select Sales.API and Sales.APP as startup projects

Sales.API and Sales.APP

  1. Click on Start to run the application

Start

  1. The application will open on your browser at https://localhost:7247/

Start

Project architecture

I chose onion architecture for this project. The reason for selecting onion architecture in this project is because it facilitates the separation of concerns by arranging code into layers. This, in turn, leads to a codebase that is more manageable and testable while decreasing interdependencies among different components of the system.

project architecture

Project overview

  1. The project displayed with no data

no data

  1. The project presented with seed data

seed data

  1. Form validation when adding a new order

Form validation

  1. The response to creating a sub-element with invalid data was displayed in a toast

Toast

  1. Swagger documentation page of our API project

Swagger

About

This is a blazor WebAssembly app with an interface to show data from DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published