/fleet-backend

Programming Test

Primary LanguageC#MIT LicenseMIT

CodeFactor

fleet

Fleet API - Dev Test.

Dotnet version: 2.2.402

Build:

  • dotnet restore
  • dotnet build

Test:

  • dotnet test

Run migrations before running:

  • dotnet ef database update --startup-project Api/

Run locally:

Deploy (needs docker installed):

  • Copy Dockerfile, docker-compose.yml and DockerMigrations outside the project folder (global.json conflict)
  • Run docker-compose up -d --build(migrations may take some time to finish)
  • Listens on port 80