Skip to content

E-commerce application with .Net Core and Angular

Notifications You must be signed in to change notification settings

tripat86/skinet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skinet

E-commerce application with .Net Core using Generic Repository with Specification Pattern / Angular10 / Redis cache / Stripe payments

alt-text

This application is a proof of concept E-Commerce store using .net core web api and client side front-end Angular UI for the store using the Angular CLI. Some highlights of the project are following:

  • use the Repository, Unit of Work and specification pattern in .net core
  • Automapper in ASP.NET Core
  • Paging, Sorting, Searching and Filtering
  • Created custom middleware to handle 500 Internal server errors
  • Created mechanism to return all sort of errors like 401(Un-Authorized), 404( Bad-request - Not found ), 400( model Validation error ), 500( Internal Server error ) into a common object which has status and response properties.
  • Best OOPS practices used.
  • Added Generic Pagination class that can be used with any Entity to get paged results.
  • Integrated Swagger API documentation to allow client application developer to get the type of request and response for each API. Also customized the swagger documentation as per need.
  • Created extension methods to extend the IApplicationBuilder and IServiceCollection so that common code can be moved from startup class into these new extension methods, the purpose is to clean the startup class.