Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 2.21 KB

README.md

File metadata and controls

40 lines (34 loc) · 2.21 KB

Folders structure

  • api/ - Symfony4 application - API

Project prerequisites

To be able to run project in docker container you will need to have following libraries installed:

Project setup

Run make install command
or follow Installation instuctions (dev)

Code architecture

  • Class naming concise and intuitive. Duplicate names are ok. Differentiation is done by namespaces.
  • Slim Classes - One public method per class. Private methods are ok.
  • For the new API endpoints, use actions instead of controllers. Examples of AbstractAction.
  • Code is structured in folders that mimic GUI sections that uses them.
  • Use Repository Interface instead of injecting Doctrine implementations.
  • Repositories should contain only basic methods (findById, findBy, save). For more complex queries use QueryObjects.
  • More about used code architecture.

Standards

PHP static analysis tools used for reporting and pre-commit checks

Server configuration