Skip to content

Microservices with Deno as a Monorepo #18143

Answered by jtoppine
asjadanis asked this question in Q&A
Discussion options

You must be logged in to vote

Correct me if I'm wrong, as I haven't actually used Turborepo. But I took a glance at some tutorials, and it appears to solve all kinds of problems that don't really have to exist in Deno.

So, for a monorepo, just have a folder with stuff, organized how you like it. Then for each project/microservice, you have an entrypoint file (just ts/js that imports whatever it needs). And you are basically done.

Deno takes care of "compiling", refreshing, and caching when you run an entrypoint. Packaging a microservice for deployment/distribution is not so clearcut, but there is Deno.emit, esbuild and deno info command to help with that.

I might be missing something. I feel like I'm missing something…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bradenmacdonald
Comment options

@carere
Comment options

Answer selected by asjadanis
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants