Monorepo + convex
How to use convex in a monorepo?
I’m taking off with the examples from @allen
https://github.com/allenhartwig/convex-turborepo
Is this the optimal way?
If so i think it would be better moving convex to the packages directory
GitHub
GitHub - allenhartwig/convex-turborepo
Contribute to allenhartwig/convex-turborepo development by creating an account on GitHub.
2 Replies
This looks good, moving convex to packages seems good too. I can see how it's a gray area as application logic.
The only benefit to having it in the apps directory, is it will start your Convex server, along with any other apps, using
yarn dev
from the root of the repo. Packages are not started by Turborepo in this manner.