Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/profjordanov/bookshop
Simple Service For Book Shop written in ASP .NET Core .
https://github.com/profjordanov/bookshop
asp-net-core-web-api book-shop dev-adventures-project-template entity-framework-core service
Last synced: about 16 hours ago
JSON representation
Simple Service For Book Shop written in ASP .NET Core .
- Host: GitHub
- URL: https://github.com/profjordanov/bookshop
- Owner: profjordanov
- License: mit
- Created: 2018-07-23T15:58:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T08:13:29.000Z (10 months ago)
- Last Synced: 2024-05-07T18:05:22.984Z (6 months ago)
- Topics: asp-net-core-web-api, book-shop, dev-adventures-project-template, entity-framework-core, service
- Language: C#
- Homepage:
- Size: 96.7 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Book Shop Service
## Endpoints
- [x] GET - /api/authors/{id} - Gets author with id, first name, last name and a list of all his/her book titles.
- [x] POST - /api/authors - Creates a new author with first name and last name (mandatory).
- [x] GET - /api/authors/{id}/books - Gets books from author by id. Returns all data about the book + category names.## Features
- [x] AutoMapper
- [x] EntityFramework Core with SQL Server and ASP.NET Identity
- [x] JWT authentication/authorization
- [x] File logging with Serilog
- [x] Stylecop
- [x] Neat folder structure```
├───src
│ ├───configuration
│ └───server
│ ├───BookShop.Api
│ ├───BookShop.Business
│ ├───BookShop.Core
│ ├───BookShop.Data
│ └───BookShop.Data.EntityFramework
└───tests
└───BookShop.Business.Tests```
- [x] Swagger UI + Fully Documented Controllers
- [x] Global Model Errors Handler
- [x] Global Environment-Dependent Exception Handler### Test Suite
- [x] xUnit
- [x] Autofixture
- [x] Moq
- [x] Shouldly
- [x] Arrange Act Assert Pattern