The ASP.NET Core REST API for Advanced Systems.
Install and build the project on a developer machine:
.\scripts\install.ps1 -Environment Development
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