Install redis and sqlite (on Debian / Ubuntu)
$ sudo apt install redis-server sqlite3
You must have to activate Python3 env before run commands:
$ git clone https://github.com/degacth/flask-library
$ cd flask-library
$ pip install -r requirements.txt
$ npm i
$ npm run build
$ ln -s ../node_modules/ ./src/node_modules
$ python manage.py initdb
$ python manage.py runserver
Also in other terminal run:
$ python manage.py celery
$ python manage.py test
$ python manage.py e2e
/api/book [GET, POST, PUT, DELETE]
/api/author [GET, POST, PUT, DELETE]
/library/ [GET]
to change pages you must add query parameter "page": /library/?page=3
/api/statistics/ [GET]