A C# .NET Core 2.2 api for Yu-Gi-Oh data such as Card Images, descriptions, Tips and Trivia.
To provide access to the latest Yu-Gi-Oh banlist & card errata in a simple JSON format.
- Setup the Ygo database
- For data, install the ygo-scheduled-tasks.
$ git clone https://github.com/fablecode/ygo-api.git
- Build the solution
- Set 'ygo.api' as startup project
- Run
- Visual Studio 2017
- .NET Core 2.2
- Onion Architecture and CQRS.
- Strategy Pattern
- Swagger
- Mediatr for CQRS and the Mediator Design Pattern. Mediator design pattern defines how a set of objects interact with each other. You can think of a Mediator object as a kind of traffic-coordinator, it directs traffic to appropriate parties.
- Entity Framework Core 2
- Fluent Validations
- Fluent Assertions
- MSTest
- Visual Studio Team Services for CI and deployment.
The basic principle of Onion Architecture is to follow the boundaries of these layers – the inner layer can’t depend on its outer layer but can depend on layers beneath.
As you see from the diagram, all the dependency directions are downwards, towards domain.
- The application is built around an independent object model
- Inner layers define interfaces. Outer layers implement interfaces
- Direction of coupling is toward the center
- All application core code can be compiled and run separate from infrastructure
This project is licensed under the MIT License - see the LICENSE.md file for details.