Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 601 Bytes

File metadata and controls

36 lines (26 loc) · 601 Bytes

python-app

A simple Flask REST API for managing a todo list.

Endpoints

Method Path Description
GET /health Service health check
GET /items List all items
POST /items Create an item ({"name": "..."})
PATCH /items/:id Update an item ({"done": true})
DELETE /items/:id Delete an item

Development

# Install dependencies
make install

# Run locally
make run

# Run tests
make test

# Lint
make lint

Docker

docker build -t python-app .
docker run -p 5000:5000 python-app