Different version of RealWorld
Uncoupling between Domain and DTO models
This is using ASP.NET Core with:
- CQRS and MediatR
- AutoMapper
- Fluent Validation
- Feature folders and vertical slices
- Entity Framework Core on SQLite for demo purposes. Can easily be anything else EF Core supports. Open to porting to other ORMs/DBs.
- Built-in Swagger via Swashbuckle.AspNetCore
- Bullseye for building!
- JWT authentication using ASP.NET Core JWT Bearer Authentication.
- Use dotnet-format for style checking
.editorconfig
to enforce some usage patterns
This basic architecture is based on this reference architecture: https://github.com/jbogard/ContosoUniversityCore
Install the .NET Core SDK and lots of documentation: https://www.microsoft.com/net/download/core
Documentation for ASP.NET Core: https://docs.microsoft.com/en-us/aspnet/core/
There is a 'Makefile' for OS X and Linux:
make build
executesdocker-compose build
make run
executesdocker-compose up
The above might work for Docker on Windows
- It's just another C# file!
dotnet run -p build/build.csproj
http://localhost:5000/swagger