bednaz
CCConvex Community
•Created by bednaz on 12/2/2024 in #support-community
Use Multi Convex projects
Hey,
I love convex but I was wondering if there was any best practice or advice around using mutli convex projects in a single application.
For context, what I want to do is build out a private npm package that has common integration for Clerk so I don't have to keep rewriting code and setting up the integration for each app. In My use case its fine to have a central auth to connect everything.
I am thinking I would just alias the env vars to for this package. When the package is all build out, I would think to make a prod setup for all this and turn it into an npm package and then reuse it in multi other projects.
Along with that I would like to use a main convex folder for the specific project. This one would be in dev as normal as normal.
Are there any concerns with this or any reason not to take this approach?
If this is a good way approach are there any best practices or considerations around this?
8 replies