Make sure you've installed all dependencies:
pip install -r requirements.txt
Ensure that mongodb is running. Database configuration can be edited in config.py.
Run the server:
python run.py
Resources:
https://realpython.com/blog/python/token-based-authentication-with-flask/