Skip to content

smnv-as/ow_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors