Best Flask open-source libraries and packages

Book shelf

This sample project contains a RESTFul API based on the Flask with Unit-Testing
Updated 1 year ago

Book-Shelf

This sample project contains a RESTFul API based on the Flask with Unit-Testing

Dependencies

  • Python (3.6 or later)
  • Postgresql
  • Psycopg2 and Psycopg2-binary
  • flask
  • Time :)

Installing Requirements

Run this command for Install requirements:

pip install -r requirements.txt

Run Application

  1. First navigate to the root directory
  2. run this command export FLASK_APP=flaskr
  3. (Optional for development mode) run this command export FLASK_ENV=development
  4. flask run

Have Fun :)

Run Test Cases

you can run each test cases by run that file using python

sample:

python flask_test.py