Skip to content

anastasiavia/OnlineShop_api_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  1. Update alembic.ini file line 58, database/config.py
sqlalchemy.url = mysql+mysqlconnector://root:[email protected]:3306/mysqldb
  1. Run alembic upgrade command.
alembic upgrade heads
  1. Install requirements.
pip3 install -r requirements.txt
  1. Populate database tables.
python3 database/populate_tables.py

Start Flask Application

The application will run at 127.0.0.1:5000.

Run pytest Tests

  1. Run tests.
python -m coverage run -m pytest
  1. Run coverage report.
coverage report 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published