initial commit

This commit is contained in:
Ariel Roffman
2026-05-13 19:12:36 -04:00
parent 4ccd0481bc
commit 233da7e7ea
16 changed files with 372 additions and 2 deletions
+32 -2
View File
@@ -1,2 +1,32 @@
# This is a demo
Thanks for reading. Bye!
# demo001
A simple ASP.NET Core Web API CRUD app using PostgreSQL.
## Local development
Requirements:
- .NET SDK
- Docker
### Run with docker-compose
```powershell
cd .\demo001
docker-compose up --build
```
The API will be available at `http://localhost:5000`.
### API endpoints
- `GET /api/TodoItems`
- `GET /api/TodoItems/{id}`
- `POST /api/TodoItems`
- `PUT /api/TodoItems/{id}`
- `DELETE /api/TodoItems/{id}`
### Notes
- `Dockerfile` is ready for container builds.
- `docker-compose.yml` starts PostgreSQL and the API locally.
- Later you can reuse the Docker image for Kubernetes deployment.