Skip to content

Coding guidelines

Guy Luz edited this page Jan 22, 2021 · 1 revision

Coding syntax

We are using lint to do all the syntax checking on the code, it will show wrong syntax as warnings. All you need to do is to not leave behind any warnings on your code.

Architecture

The code is based on DDD (Domain-Driven Design) principles, you can learn it from here.

Architecture diagram:

Summery of the Architecture

Presentation: Will show the user interface.

Application: Will contain BLoCs and UseCases.

Domain: Only place that contains the business logic, will not be dependent on the other layers.

Infrastructure: Data that is stored and API are placed here, only place in the code that will have try catch exceptions!.

Clone this wiki locally