Convex support for NEST JS
Please any documentation that could cover setting up Convex on a Nestjs project ? I get a module not found error on Nests Js cause the convex folder has to be within the root directory.
4 Replies
How do you want to use Nest, are you running it on another server and want that to call Convex functions?
I don't understand the last problem yet. Why does the convex directory need to be in the route folder?
Usually when you spin a convex project it gets generated in your root directory,,,and seems NestJs doesn't see the folder when it gets compiled
I Want to use Nest Js together with Convex
To Directly call convex functions and do some operations right on one server
To Directly call convex functions and do some operations right on one serverSo you'd like to write HTTP handlers in Nest that sometimes call Convex function on the Convex server? Sounds good Are you getting an error when you try to import the
api
object?@gabe.celo you can put the convex folder elsewhere:
https://docs.convex.dev/production/project-configuration#changing-the-convex-folder-name-or-location
Project Configuration | Convex Developer Hub
Local development