f0fdc93316abb21cd4add3af0c2f202db51364c1
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.
Description
Languages
C#
92.4%
Dockerfile
6.1%
Shell
1.5%