Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

preventing abuse of user-configurable fetches

Is there a general way of combatting stuff like that when providing the option of user-configurable outbound web-traffic?

Convex Auth + OAuth + Tauri

I'm hoping to integrate Convex into a desktop app I'm building with Tauri, so it has a frontend written in React but bundled with a rust foundation that manages the webview. I would love to also be able to use Convex Auth, it looks so simple and elegant, but I need to have OAuth support. The problem is that, it being a bundled desktop app and not a web app, it doesn't have an address so I can't redirect in-place and then provide a URL to navigate back to the app. I have a working OAuth flow that...

mutation / action calling

Suppose I have a mutation that depends on external API's and in a convex function that mutation calls two actions does convex combine these into a single sql like query result before returning the result of the mutation or are the actions ran in there own transaction state?

Hey folks,

Hey folks, We're looking into an issue where folks with > 5MB of code currently cannot push new code via npx convex dev or npx convex deploy. We are looking into it. I'll update in this thread....

issues running npx convex dev

Is anyone else having issues running npx convex dev atm ?

deployment env

Do convex functions respect process.env.NODE_ENV === 'development' in node? I would like to have different logic for my production and development inside of my functions environment.

AI Town

ai town is awesome would you guys be open to launching it there is a huge group of people who would love to use it

The Zen of Convex states:

The Zen of Convex states:
In general, your mutations and queries should be working with less than a few hundred records and should aim to finish in less than 100ms.
Now I'm assuming having (way, way) more data is fine, as long as indexes are used to quickly narrow down query results. I think what this statement means to say is that any additional filtering should ideally involve fewer than 100 documents. Is that the right interpretation? The wording here is slightly confusing, at least to me...

convex-helpers/packages/convex-helpers/s...

I'm trying to create my own version of the CRUD helper from convex-helpers, but was having some trouble getting handler function argument types to work out correctly. I looked and saw that convex-helpers uses a type assertion to get it to work: https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/server/crud.ts#L94-L95 I was curious about why the type assertion is needed here? Shouldn't TypeScript be able to infer the correct type of the arguments, or are we running into some kind of limitation?...

i want to connect convex nd clerk in

i want to connect convex nd clerk in next js but facing an issue that could anyone help me

Convex: Life Without a Backend Team (Jam...

Are there any updates to how Convex approaches testing since this talk? Been going down a rabbit hole the past few days. https://www.youtube.com/watch?v=iizcidmSwJ4

arseniyx's Thread

hi any experience about using it in production, is it worth it?

mjbates7's Thread

Hi all, out of interest, why is it convex-helpers and not @convex/helpers?

zorrr99's Thread

I am genuinely sorry, if it had to go to #support-community. I missed it.*

zorrr99's Thread

man. authentication is relatively hard to understand. Should I close my eyes and just replicate docs and watch my working project or should I spare time and put effort to understand those thing? Should I even teach myself how to code it myself? note: I know; how JWT works, what is session management, access token, refresh token, but not sure if I even can effectively create a working diagram/design like in the image probably and the code. Sorry if it is unrelated, I love Convex Auth already but I am just seeking advice as a junior. I don't feel like GPT can guide me in this case....
No description

sebastianhindhede's Thread

Hi, I am getting some weird 404 error in Airbyte when trying to export my Shopify data to Convex. I have followed the official guide to exporting to convex, with the deployment URL and API key, but I keep getting 404'd when it sets up the destination :/

starlord_gf's Thread

hello, i have a query in my project that is executed every app launch by client. it fetches all the relevant configurations required for client logic and consumes the most database bandwith in my app. is there a way to reduce it somehow?
No description

version_zero's Thread

Hey everyone, I'm trying to use a third party lib and I'm getting this. Any suggestions?

tarky18's Thread

Is it safe to use Convex Auth for a production app?