PietroP
Convex Community3y ago
3 replies
Pietro

CLI: pull schema for dual projects same DB.

My project has a separation of frontend and backend node apps. My frontend atm is controlling the schema and functions but I'd like the backend (lets assume a separate repo) to be able to interact with the same db / schema with the same Developer experience.

when I run npx convex dev on the backend the _convex folder gets generated but the api. does not auto complete.

Is there a way to do something like npx convex pull schema and functions to update the schema locally and get the right DX on repos that are not the primary controlers of the code?

thanks.
P.
Was this page helpful?