Cam
CCConvex Community
•Created by Cam on 5/15/2024 in #support-community
convex apps built on replit.com
Has anybody had a go at building convex apps, say Next.js on replit.com? Was the AI assistant “convex aware”?
I’ve got a little project I might try anyway, just wondering if anyone else has tried it and can share their experiences?
1 replies
CCConvex Community
•Created by Cam on 5/9/2024 in #support-community
Add headers/tokens to calls to queries and actions
Hi,
Can anyone describe how I can ensure additional data is sent in headers when interacting with the backend?
I have some security tokens stored on the client that I would like to have access to on the server (for external api requests).
I’d like to avoid making these calls from the client if possible, because there will be several subsequent queries and actions to trigger.
These are transient, and user specific so I can’t store as env vars on the server.
I could store them in a temporary table, and retrieve when needed, but that seems messy and will require a cleanup activity.
3 replies
CCConvex Community
•Created by Cam on 5/2/2024 in #support-community
Any plan to release a Golang SDK?
For some pure backend stuff I'll most likely reach for python, but Go's concurrency would fit very well with reactive data from convex!
3 replies
CCConvex Community
•Created by Cam on 5/1/2024 in #support-community
monorepo vs multi repo's
Hello, I've spent a couple of hours trying to get https://github.com/get-convex/turbo-expo-nextjs-clerk-convex-monorepo working. Side note, there appear to be some dependancy version conflicts and general shenanigans getting things running.
Looking at some other posts, turbo repo seems to be a tool suggested for this. However, while this might work for me with react, react native and convex itself, I also have some python aspects to my project.
So instead of getting tangled with yarn/pnpm workspaces, I am considering completely isolated directories/repo's.
Is there any conceivable problem with just having multiple repos, each with it's own copy of convex directory?
I would think that the reactor syncing would simply replicate between each running 'npx convex dev' and then I just commit those files in each repo.
Any recommendations?
7 replies
CCConvex Community
•Created by Cam on 5/1/2024 in #support-community
Is there a guide for running convex locally and deploying to the cloud?
I'm not sure how to configure my project, and access the dashboard locally. And then promoting those changes to prod (maybe even via github actions or some other CI)
Some docs on the recommended workflow would be very helpful now that the convex binary can be run locally!
3 replies
CCConvex Community
•Created by Cam on 4/30/2024 in #support-community
How can I create a table that is capable of location based queries (Geospatial)
I would like to be able to query by distance, and sort closest to farthest, as can be done in mongodb or postgis.
I can use some trickery to locate lat/lon coordinates 'near-ish' by treating them as floats and using greater than and less than in a pseudo between query, and then sort/filter in TS using the haversine formulae. I don't mind doing that as a work around for now.
But Geo queries would be a fantastic feature!
5 replies