Based on this video
An API is a set of definitions and protocols used in the development and in the app integration. The client request something from the server, and the server responses to this request based on the API rules.
REST is a set of rules and limitations so that the API that isn't too complex. The client asks (via transfer) the server for the data state and the server responds with a representational via transfer
- install:
sudo apt install python3-venv
- run:
python3 -m venv venv
- install:
python3 -m pip install flask
- run:
python3 -m flask
- install:
python3 -m pip install flask-pydantic-spec
- install:
python3 -m pip install tinydb