How maxonyar/tp-solo-1 works
This repository contains two small Flask app variants. The main workflow is an HTTP request handled by a route and returned as JSON; the Docker-oriented variant also exposes a visit counter. Its route references an undefined Redis-client helper, so Redis integration is not confirmed. Threshold and input-sanitization helpers are present but are not used by the shown routes. The README mainly describes CI and Docker image output, which are not runtime product components.
Main entry points: starter-app/app.py Visits route · starter_app/app.py Health/status routes
Components 9
Other components
- HTTP client
- Dockerized Flask app
starter-app/app.py - Health/status/home
starter-app/app.py - Visits route
starter-app/app.py - JSON response
starter-app/app.py - Redis store
- Basic Flask app
starter_app/app.py - Health/status routes
starter_app/app.py - JSON response
starter_app/app.py
Connections 7
- HTTP client → Health/status/home: requests route
starter-app/app.py - HTTP client → Visits route: requests visits
starter-app/app.py - Health/status/home → JSON response: returns JSON
starter-app/app.py - Visits route → JSON response: returns count
starter-app/app.py - Visits route → Redis store: increments visits
- HTTP client → Health/status routes: requests route
starter_app/app.py - Health/status routes → JSON response: returns JSON
starter_app/app.py