In this repository I want to give a plain starting point at how to build a WebAPI with ASP.NET Core connected with database following the principles of Clean Architecture. This repository contains a controllers which are dealing with Products, Categories and Brands. You can Secured GET/POST/PUT/PATCH and DELETE them.
.NET 7
Database: Microsoft SQL server.
Framework/ library: Entity framework
JWT
Generated JWS key : https://8gwifi.org/jwsgen.jsp
As soon you build and run your application, default users and roles get added to the database.
Default Roles are as follows.
Email - haitham.abass49@gmail.com / Password - 123456 Email - Maged.sobhy50@gmail.com / Password - 123456
If you have ideas on how to improve the API or if you want to add a new functionality or fix a bug, please, send a pull request.