journal/2021-06-06--13-43-12Z--service_oriented_programming.org
This commit is contained in:
parent
cb95503c0e
commit
11149acb2f
1 changed files with 11 additions and 4 deletions
|
@ -21,7 +21,14 @@ From a high level perspective:
|
|||
The services directory will contain "sub-project"/"modules".
|
||||
Every service should have the following structure:
|
||||
|
||||
- =service= the service declaration
|
||||
- =core= the implementation of the function in the service
|
||||
- =schemas/types= the metas structures (data format mostly)
|
||||
- =routes= if this was the
|
||||
- =src/=
|
||||
+ =service= the service declaration
|
||||
+ =core= the implementation of the function in the service, should
|
||||
contain pure functions
|
||||
+ =schemas/types= the metas structures (data format mostly)
|
||||
+ =routes= if you service is a web service, routes declarations
|
||||
- =test/=
|
||||
+ =service_test= the service test
|
||||
+ =core_test=
|
||||
+ =schemas/types= the metas structures (data format mostly)
|
||||
+ =routes= if you service is a web service, routes declarations
|
||||
|
|
Loading…
Reference in a new issue