KarlstensK
Convex Community3y ago
6 replies
Karlstens

Best practices for Convex, Git and .gitignore

I'm learning how to build a basic website via Vercel, that has simple user inputs that post documents into my Convex DB. As I'm pushing from Dev to Prod via BitBucket, I'm wondering about git best practices after implementing Convex in my project.

For example, to kickstart my project I'm using the Vercel Vite template, which works great. As I now implement Convex into the same project, I'm wondering what to be concerned with regarding what I Convex code I push to git (and bear with me 🐻🤗 I'm new to this!) - in that, when I write Convex Functions they sync to Convex Auto-magically, so should I thus not be capturing these functions via git, as they... serve no purpose in my Dev to Prod website push?

I had a look on Convex regarding git best practices, but couldn't find much info (or at least haven't found anything yet, still looking).
Was this page helpful?