pyBegin / projects / make-api
🔌

Make-API

A small Flask web API that returns a random quote (read from quote.txt) as JSON on the root route.

18 lines🖥 Desktop only

Make-API

A small Flask web API that returns a random quote (read from quote.txt) as JSON on the root route.

How to run

pip install flask
python app.py

Then open http://127.0.0.1:5000/ in a browser.

Dependencies

flask.

Pyodide-runnable

No — it runs a Flask web server, which requires a server process and networking.