This section content all information about trevelin Backend.
Current Condition
Now our backend uses monolithic architecture, because we are pursuing product MVP for release first.
Project Structure
Code
cmdis entry point, containt main packageconfigis folder containt configurationcontaineris package for dependencies injection, currently we use uber dig for dependencies injection.dbthis folder containt all migration filesdocsthis folder containt all docs if neededexternalthis folder containt all external package, such as xendit.internalthis folder containt all internal trevelin usecases.pkgthis folder containt utility for this app
How to run
like the regular golang programming language, we can run with this command
Code
or you can run with docker-compose.dev.yaml, this will run the db, jaeger, and trevelin backend applications itself
Last modified on

