Skip to content

Advanced-Systems/backend

Repository files navigation

Advanced Systems Backend

Unit Tests CodeQL

About

The ASP.NET Core REST API for Advanced Systems.

Developer Notes

Prerequisites

Install and build the project on a developer machine:

.\scripts\install.ps1 -Environment Development

Commands

Launch the backend in Development mode:

setx ASPNETCORE_ENVIRONMENT "Development"
dotnet run --project="AdvancedSystems.Backend"

Open swagger:

start https://localhost:5001/swagger/index.html

Run the test suite:

dotnet test AdvancedSystems.Backend.Tests

Containerize the development environment:

docker build --rm -t adv-sys/backend:latest . --build-arg PORT=5000

Run the container and expose port 5000 over HTTP:

docker run --rm -p 5000:5000 adv-sys/backend