journal/2021-06-06--13-43-12Z--service_oriented_programming.org

This commit is contained in:
Yann Esposito (Yogsototh) 2021-06-06 13:57:32 +02:00
parent cb95503c0e
commit 11149acb2f
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -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