Implementations of a simple API for managing entities (create, delete, read) and API for logic for transferring objects between users.
Install requirements:
$pip install -r requirements.txt
You need to change in config.py
:
SQLALCHEMY_DATABASE_URI
Add to enviroment:
SECRET_KEY=Your secret key
Debug=False
Create DB:
$python create_db.py
Run app:
$python wsgi.py
Run tests:
$python -m pytest --cov-report term --cov=api_app