AutoLog uses .NET’s layered configuration system. In development, you store secrets locally with the .NET Secret Manager so they never touch source control. In production, you pass the same values as environment variables using the double-underscore (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JReyna217/AutoLog/llms.txt
Use this file to discover all available pages before exploring further.
__) convention, which .NET automatically maps to nested appsettings.json keys — for example, JwtSettings:Secret becomes JwtSettings__Secret. The Angular frontend receives its single runtime value (API_URL) through a shell entrypoint script that rewrites a placeholder inside the compiled JavaScript bundle before Nginx starts.
Environment Variables Reference
| AppSettings Key | Environment Variable | Description | Required |
|---|---|---|---|
ConnectionStrings:DefaultConnection | ConnectionStrings__DefaultConnection | PostgreSQL connection string | ✅ Yes |
JwtSettings:Secret | JwtSettings__Secret | Signing key for JWTs (minimum 32 characters) | ✅ Yes |
JwtSettings:Issuer | JwtSettings__Issuer | JWT issuer claim (default: AutoLog.API) | No |
JwtSettings:Audience | JwtSettings__Audience | JWT audience claim (default: AutoLog.AngularClient) | No |
JwtSettings:ExpiryMinutes | JwtSettings__ExpiryMinutes | Access token lifetime in minutes (default: 15) | No |
JwtSettings:RefreshExpiryDays | JwtSettings__RefreshExpiryDays | Refresh token lifetime in days (default: 7) | No |
Cors:AllowedOrigins:0 | Cors__AllowedOrigins__0 | Frontend URL allowed by CORS | ✅ Yes |
API_URL (frontend) | API_URL | Base URL of the backend API consumed by Angular | ✅ Yes |
Local Development Setup
Use the .NET Secret Manager to configure secrets on your development machine. These values are stored outside the project directory and are never committed to Git.appsettings.json
The file below is the committed baseline configuration. All empty or default values are meant to be overridden at runtime — never populateSecret or DefaultConnection directly in this file.