This repository holds an implementation for the test assignment.
A try to domain driven approach.
-
Run SqlServer
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" ` -p 1433:1433 --name sql-dev -h sql-dev ` -d mcr.microsoft.com/mssql/server:2022-latest
-
Apply database migrations
dotnet ef database update --project .\src\Reda.DataAccess\ -- "Server=127.0.0.1,1433;Database=Reda;User Id=SA;Password=<YourStrong@Passw0rd>;Trust Server Certificate=true"
-
Run the API project
dotnet run --project .\src\Reda.Api\
-
Open browser https://localhost:7042/swagger/index.html
- ASP .NET 7
- Sql Server
- MediatR
- EntityFramework
- FluentValidation
- xunit
- Moq