Add WebAPI controllers for beers, breweries, and users; update Docker configuration and .gitignore

This commit is contained in:
Aaron Po
2025-12-06 22:15:00 -05:00
parent fc2e8c9b6d
commit afefdb9e3d
12 changed files with 790 additions and 11 deletions

View File

@@ -45,10 +45,7 @@ app.MapGet(
)
.WithName("GetWeatherForecast");
app.UseStaticFiles();
// Register controllers
app.MapControllers();
app.Run();
record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary)
{
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
}