read the tutorial on https://www.azionadigitale.com/sviluppiamo-una-web-api-con-python-flask-e-sqlite/
A web app in Flask that allows via web form to enter a username.
The backend saves it with the date of the day and an auto-incrementing ID and saves it to a local SQLite DB.
With admin panel you can retrieve all the users.
For learning purposes only.