Concept Flow - Flask route as API endpoint
Start Flask app
Receive HTTP request
Match URL to route
Yes
Call route function
Process data / logic
Return response (JSON)
Send response to client
End
This flow shows how Flask listens for a web request, matches it to a route, runs the function, and sends back a JSON response.