607 B
607 B
demo001
A simple ASP.NET Core Web API CRUD app using PostgreSQL.
Local development
Requirements:
- .NET SDK
- Docker
Run with docker-compose
cd .\demo001
docker-compose up --build
The API will be available at http://localhost:5000.
API endpoints
GET /api/TodoItemsGET /api/TodoItems/{id}POST /api/TodoItemsPUT /api/TodoItems/{id}DELETE /api/TodoItems/{id}
Notes
Dockerfileis ready for container builds.docker-compose.ymlstarts PostgreSQL and the API locally.- Later you can reuse the Docker image for Kubernetes deployment.