Skip to content

stevan-tosic/web-shop-orders-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published