added build instructions

This commit is contained in:
marco committed 2026-08-31 12:59:44 +02:00
1 parent ea0bc444d2
commit ffb308dc52
1 file changed
+9 -1
+9 -1
View File
@@ -2,4 +2,12 @@
Genutze Ressourcen zum Recherchieren
1. [Microsoft ASP.NET Core Doku](https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-10.0&tabs=visual-studio-code)
2. [ASP.NET mit postgres tutorial](https://dev.to/olymahmud/building-a-crud-api-with-aspnet-core-web-api-and-postgresql-p5f)
2. [ASP.NET mit postgres tutorial](https://dev.to/olymahmud/building-a-crud-api-with-aspnet-core-web-api-and-postgresql-p5f)
# Projekt starten (Linux/Docker)
1. `docker run --name postgres -e POSTGRES_PASSWORD=postgres --network host -d postgres`
2. `psql -U postgres -d postgres -h localhost -p 5432 -f db/schema.sql`
3. `cd api`
4. `dotnet run`
5. http://localhost:5007/swagger im Browser aufrufen