spidey icon indicating copy to clipboard operation
spidey copied to clipboard

Project Layout (Multilanguage development)

Open gepgecici opened this issue 5 years ago • 1 comments

Thank you a for this great project and tutorial. I've really enjoyed it while following.

I'm trying to build a boilerplate for microservices development. And I have a few questions and request about this project.

  1. I'm planning to use different languages for different services. For example typescript for graphql api, c# for auth, go for image process.

Could you add an example to use a different language for a service?

  1. go.mod and go.sum files in the root of project. Is it better idea to put them inside the services so they will be loose coupled.

  2. For database, Is there any persistent layer to keep the data while relaseing application?

gepgecici avatar Aug 12 '20 09:08 gepgecici

  1. Not in this repo. But it would only require appropriate Dockerfile for whatever tech you'd want to use.
  2. Yes, that would be better. Or having separate repos for each service.
  3. Persistence is achieved by Repository, which uses PostgreSQL.

tinrab avatar Aug 17 '20 11:08 tinrab