Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 .

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