An example of application with event handlers.
You can see a list of possible handlers and contracts for them after run application on
http://127.0.0.1:8080/swagger
(with default settings).
-
Create
.env
file with variables or generate it by command:make env
-
Install project requirements:
make install
-
Run Redis database with docker-compose:
make db
-
Run project:
make run
List of possible commands:
make help
- Create tests for handlers and add Github Workflow for them;
- Add doc-strings for functions (and check them with linters);
- Add more linters (maybe add more flake8 plugins like
flake8-cognitive-complexity
etc.) - Make async redis connection with
asyncio-redis
.