Skip to content

Technical test for applying to a .NET and Vuejs developer position. This project includes DDD, Clean Architecture, and has two projects in the presentation layer, a WebAPI and a WorkerService. The last one implements background jobs scheduled with the Hangfire library. Stack: .NET 9 & Vue3 TS

Notifications You must be signed in to change notification settings

SantiPorres/HahnTestCRapi

Repository files navigation

Dotnet Secrets Documentation .NET 9

https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-9.0&tabs=linux

Commands

Install dotnet EF Core CLI

dotnet tool install --global dotnet-ef

Create migrations

dotnet ef migrations add InitialMigration --project Persistence --startup-project WebAPI

Run migrations

dotnet ef database update --project Persistence --startup-project WebAPI

SQL Server

Pull image

docker pull mcr.microsoft.com/mssql/server:2022-latest

Create volume

docker volume create sql-server-data

Run container

docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=MyStrongPassword123" -p 1433:1433 -v sql-server-data:/var/opt/mssql mcr.microsoft.com/mssql/server:2022-latest

About

Technical test for applying to a .NET and Vuejs developer position. This project includes DDD, Clean Architecture, and has two projects in the presentation layer, a WebAPI and a WorkerService. The last one implements background jobs scheduled with the Hangfire library. Stack: .NET 9 & Vue3 TS

Resources

Stars

Watchers

Forks