How abito28/devsecops-project works
This repository contains a small FastAPI memo service. An API client can check health, create a memo, list stored memos, or delete one; creation validates text length, and deletion returns a not-found error for unknown IDs. All memo state is held in a process-local dictionary and is lost when the server restarts. The README describes the project only as a DevSecOps learning project, so it does not establish additional runtime capabilities; the map reflects the sampled application source.
Main entry points: main.py Create memo
Components 7
Other components
- API client
- Health endpoint
app/main.py - Create memo
app/main.py - Memo validation
app/main.py - List memos
app/main.py - Delete memo
app/main.py - In-memory memos
app/main.py
Connections 8
- API client → Health endpoint: requests health
app/main.py - API client → Create memo: creates memo
app/main.py - API client → List memos: lists memos
app/main.py - API client → Delete memo: deletes memo
app/main.py - Create memo → Memo validation: validates input
app/main.py - Create memo → In-memory memos: writes memo
app/main.py - List memos → In-memory memos: reads memos
app/main.py - Delete memo → In-memory memos: checks and deletes
app/main.py