Create Mysql database with name flask_sample
and Go to app dir
cd app
Install Dependency Modules
pip install -r requirements.txt
Call flask init-db
command for create table and sample data (Note: should be run one time not multiple times)
cd app
flask init-db
Run Flask Server
flask run
Documentation url can be access after run server
http://localhost:5000/doc/swagger-ui
http://localhost:5000/doc/redoc
http://localhost:5000/doc/rapidoc
on root Folder, run below command
pytest