Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 645 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 645 Bytes

Build Status

Test task of API OW

Implementations of a simple API for managing entities (create, delete, read) and API for logic for transferring objects between users.

Run it

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 test

Run tests:

$python -m pytest --cov-report term --cov=api_app