- Added Zone instance.
- Added
/users/profile
route to obtain info about current user. - Added related tests.
- Added
/all/count
and/all/search/<str_to_search>
Event resource routes. - Added related tests.
- Added Events service.
- Added token expiration and refreshing.
- Added Authorization for
/users/login
route documentation - Migrated to Python 3.9 and newest versions of libraries (except
flake8
, pinned). - Added monkeypatch for flask.scafold. Waiting for upd's in the flask-restx package.
api/users/login
route: need to passAuthorization: Bearer
header with Auth0access_token
- Important. No need to manage database manually.
- Excluded Migrations from
entrypoint
. That means, database is clear at every run. drop_all/set_up
in entrypoint. While not release version, database fully reinits at every build.- Fulfilled migration support for multiple databases has been added to TODO-list.
- Deleted deprecated Flask-Script and Flask-Migrate in order to use pure Alembic for migrations.
- Excluded Migrations from
- Deleted
access.log
. All outputs are on the stdout. TODO: look for a solution. - Changed CLI commands.
- Token expiration.
- Token exceptions handling.
- Events instance and routes.
All previous versions of API tagged as s.01