Skip to content

stewartcelani/AventureWorks-with-net-api-and-react-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo will be a demonstration of a .NET 8 Web API and a React UI.

.NET 8 Web API

  • Clean architecture scaffolding with default weather route protected by Azure AD/Entra
  • Add MediatR and set up validation pipelines
  • Hook up to AdventureWorks database and implement first employees endpoints
    • Added /api/v1/employees (paginated), /api/v1/employees/{id}, /api/v1/employees/by-national-id/{nationalId}
  • Extend employee filtering to drive a data grid on the React UI (searchTerm)
  • Add products endpoints
    • Added /api/v1/products (paginated), /api/v1/products/{id}
  • Add ability to order and search products
  • Editing employee details (PUT /api/v1/employees/{id}) + MediatR command logging behaviour (dbo.AuditLog)

React UI

  • React (TypeScript) scaffolding with app-wide login via MSAL (Microsoft Authentication Library) and role support
  • Set up a server-side paginated simple table on the employees end-point
  • Set up a server-side paginated data grid on the products end-point with sorting, filtering etc (using Tanstack Table)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published