This example implements a Flask server that uses a mock database in memory.
The goal is to show that mobync is capable of be run with any kind database even with a generic mock database.
We recommend you create a python virtual environment. Run:
python3 -m venv venvRun:
pip install -r requirements.txtRun:
python app.pyNow the server will be running on your localhost
This is the sync endpoint, with it you can perform operations defined on mobync's protocol.
With this endpoint you can list the current state of the mock database.