spidey
spidey copied to clipboard
Project Layout (Multilanguage development)
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.
- 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?
-
go.mod and go.sumfiles in the root of project. Is it better idea to put them inside the services so they will be loose coupled. -
For database, Is there any persistent layer to keep the data while relaseing application?
- Not in this repo. But it would only require appropriate Dockerfile for whatever tech you'd want to use.
- Yes, that would be better. Or having separate repos for each service.
- Persistence is achieved by
Repository, which uses PostgreSQL.