- GET - /api/authors/{id} - Gets author with id, first name, last name and a list of all his/her book titles.
- POST - /api/authors - Creates a new author with first name and last name (mandatory).
- GET - /api/authors/{id}/books - Gets books from author by id. Returns all data about the book + category names.
- AutoMapper
- EntityFramework Core with SQL Server and ASP.NET Identity
- JWT authentication/authorization
- File logging with Serilog
- Stylecop
- Neat folder structure
├───src
│ ├───configuration
│ └───server
│ ├───BookShop.Api
│ ├───BookShop.Business
│ ├───BookShop.Core
│ ├───BookShop.Data
│ └───BookShop.Data.EntityFramework
└───tests
└───BookShop.Business.Tests
- Swagger UI + Fully Documented Controllers
- Global Model Errors Handler
- Global Environment-Dependent Exception Handler
- xUnit
- Autofixture
- Moq
- Shouldly
- Arrange Act Assert Pattern