Projekt

Obecné

Profil

Akce

Feature #8569

uzavřený

Implement application initialization and dependency injection

Přidáno uživatelem Jan Pašek před téměř 4 roky(ů). Aktualizováno před téměř 4 roky(ů).

Stav:
Closed
Priorita:
Normal
Přiřazeno:
Jan Pašek
Kategorie:
Implementation
Cílová verze:
Začátek:
2021-04-09
Uzavřít do:
2021-04-10
% Hotovo:

100%

Odhadovaná doba:
2.00hod
Importance:
Tags:

Popis

All the dependencies in the application shall be injected via constructor using a DI framework: https://pypi.org/project/injector/.
Furthermore, there shall be an initialization before the application runs that ensures the following:

  • Check whether an OpenSSL is present on the system.
  • Initialize the database.
  • The code shall be prepared to load configuration in the future.

Reviewer: Stanislav Král

Akce

Také k dispozici: Atom PDF