tstepro
tstepro
CCConvex Community
Created by tstepro on 11/18/2023 in #support-community
Nodejs convex client "setAuth" with clerk example
Hey there, do you guys have an example of using the Nodejs convex client in a react app and using it with clerk? I'm trying a different approach to calling convex queries (I wanted to use it without using hooks). I setup a convexClient and made my calls. The only problem was setting auth. I saw this https://docs.convex.dev/api/classes/browser.ConvexClient#setauth, but not sure how to set it with clerk. I'll be tinkering but if you guys have an example, please lmk.
15 replies
CCConvex Community
Created by tstepro on 11/12/2023 in #support-community
Error handling
Hey all, what's a recommended approach for error handling? Right now, I'm just throwing generic Errors all over the place. How could I throw specific typed errors? For example, OpenAIError. I'd like to handle them differently on the UI.
4 replies
CCConvex Community
Created by tstepro on 11/12/2023 in #support-community
Nested convex files?
Hey all, I'm trying to put my functions/files into a separate folder. Whenever I try that, I get several strange errors. Before digging deep into that, is it even possible have nested folders in /convex in a react project?
4 replies
CCConvex Community
Created by tstepro on 11/8/2023 in #support-community
Autocomplete on env variables
I was adding an api env variable key. To my surprise, autocomplete showed my other keys. Are these keys now being tracked by the browser? Would it be possible to disable autofill or autocomplete for the env variables?
5 replies
CCConvex Community
Created by tstepro on 10/28/2023 in #support-community
Coffee shop wifi vs docs.convex.dev
No description
9 replies
CCConvex Community
Created by tstepro on 8/24/2023 in #support-community
Sharing development with front-end team
Hey there, just wondering what were suggested approaches for collaboration. Currently, I'm handling the backend side of things with convex. Bringing in a separate dev to work on F/E work. Would I be able to just share the Convex URL with them and let them work off of the dev environment? Or is there a suggested setup?
5 replies
CCConvex Community
Created by tstepro on 8/8/2023 in #support-community
Encryption?
I occasionally get clients that want to build fintech apps. Very often, they have strong security requirements. Usually storing any ssns or personal information cannot be stored in plaintext. Those fields must be encrypted. Any thoughts on how to do this in convex?
9 replies
CCConvex Community
Created by tstepro on 7/26/2023 in #support-community
FormData in HttpAction
Hey guys, I'm trying to use formdata from the httpAction but unfortunately unable to. Seeing this error:
Not implemented: formData() for Request. Consider calling an action defined in Node.js instead (https://docs.convex.dev/functions/actions).
Not implemented: formData() for Request. Consider calling an action defined in Node.js instead (https://docs.convex.dev/functions/actions).
I suspect that calling this in a nodejs env wouldn't fix this 🤔 . Some context: I'm trying to upload a file from F/E to convex using an http action with some extra metadata. I can probably stuff that metadata into a header for now but would rather not 😔 Any thoughts around this?
12 replies
CCConvex Community
Created by tstepro on 7/26/2023 in #support-community
Thoughts on firebase comparison
No description
3 replies
CCConvex Community
Created by tstepro on 7/24/2023 in #support-community
Authed Http Actions
Are there any best practices for authenticating http actions? I'm currently using clerk. I can grab a token from clerk on the F/E. Any recommendations on how to verify/use that token on the B/E?
20 replies
CCConvex Community
Created by tstepro on 7/23/2023 in #support-community
Dealing with files
Hey there, this is what I'm trying to do. 1. Upload file to convex. 2. Upload that file to somewhere else (from convex). 3. .... 4. Profit I'm running into problems with 2. I'm passing my stored blob to a node env where I have the sdk installed. I am then trying to convert that Blob into a File object. That's needed for the sdk. I keep running into the error: Blob {"_parts":[{"_data":{"0":.... is not a supported Convex type To learn about Convex's supported types, see https://docs.convex.dev/using/types. From the rest of the trace it seems like the Blob is a special type in convex? And it's converted into a json object? Not entirely sure. For context, this is the api (https://platform.openai.com/docs/api-reference/audio/create-transcription) I'm trying to upload a blob to. I can probably work around this by manually calling this. But would rather use their sdk. Any thoughts on how to make this happen?
11 replies
CCConvex Community
Created by tstepro on 7/17/2023 in #support-community
Affiliate Program
Hey do you guys have an affiliate program? I'll promote this for free but since I love this product a ton, I'd like to help promote it.
3 replies