The ASP.NET Core REST API for Advanced Systems.
Install and build the project on a developer machine:
.\scripts\install.ps1 -Environment DevelopmentLaunch the backend in Development mode:
setx ASPNETCORE_ENVIRONMENT "Development"
dotnet run --project="AdvancedSystems.Backend"Open swagger:
start https://localhost:5001/swagger/index.htmlRun the test suite:
dotnet test AdvancedSystems.Backend.TestsContainerize the development environment:
docker build --rm -t adv-sys/backend:latest . --build-arg PORT=5000Run the container and expose port 5000 over HTTP:
docker run --rm -p 5000:5000 adv-sys/backend