kstulgys
Explore posts from serversCCConvex Community
•Created by kstulgys on 2/4/2025 in #show-and-tell
Your Crypto Payment Gateway for USDC & USDT Stablecoin Payments
Hi, I am excited to share with my new project.
Built with convex.
Will launch on "Product hunt" on February 6th, 2025 12:01 AM PST.
Product demo and website link attached 👇
https://youtu.be/v9SBXlM4i7k
https://eppy.io
6 replies
CCConvex Community
•Created by kstulgys on 1/17/2025 in #support-community
Should I avoid this ent query?
This is an example from ents docs:
It's likely there are just a few roles so I guess it's fine but let's say there are many roles or let's say it's ever growing collection i.e "posts". Should I try to avoid this kind of query and doing i.e
title: (await invite.edge("posts")).title
My example might be silly with "posts" but just want to make a point and to understand if this is ok for larger collections then just "roles".10 replies
CCConvex Community
•Created by kstulgys on 1/11/2025 in #support-community
How to properly update many to many records with ents?
Do I need to update (add or remove) on both sides or one is enough for convex to figure out? I.e:
2 replies
CCConvex Community
•Created by kstulgys on 1/3/2025 in #support-community
Ents is in maintenance mode. Should I use it?
"Ents is in maintenance mode. We're open to taking PRs, and will make sure it doesn't break. There will not be active feature development from the Convex team."
Is it OK to use ents? Should I avoid using it if I started a new project?
6 replies
CCConvex Community
•Created by kstulgys on 9/27/2024 in #support-community
Is runMutation transactional?
will
internal.bar.create
be executed if internal.foo.create
fails?5 replies
CCConvex Community
•Created by kstulgys on 9/17/2024 in #support-community
Whats the best practice/approach for saving and fetching convex images?
- Should I save storageId inside i.e product's table i.e
thumbnail: v.id("_stareage")
or should I have a separate table i.e productThumbnails
?
- If I have multiple images (previous question also applies) i.e images: v.array(v.id("_stareage"))
when I delete I need to make sure I delete in both places (storage and in database) right?
- Should I prefetch images in convex server side when I call i.e getProducts? i.e
Or should I fetch images client side where I have only storageId id?7 replies
CCConvex Community
•Created by kstulgys on 9/11/2024 in #support-community
Is this is valid Access-Control-Allow-Origin?
This is my http endpoint return:
Would this be valid?
"Access-Control-Allow-Origin": "*.xyz.com"
? If not, is there a workaround?
Sorry, too lazy to test myself.3 replies
CDCloudflare Developers
•Created by kstulgys on 8/27/2024 in #general-help
Your Worker exceeded the size limit of 1 MiB
2 replies
CCConvex Community
•Created by kstulgys on 8/26/2024 in #support-community
how do I efficiently aggregate data?
How do I aggregate data? I.e I have orders, how do I calculate the total amount through entire period? I would assume querying all records and adding up the count wouldn't be the best option?
3 replies
CCConvex Community
•Created by kstulgys on 8/24/2024 in #support-community
Is this is legit way to upload files? Haven't seen this in any example
With this approach you do not have to create http route.
frontend:
8 replies
CCConvex Community
•Created by kstulgys on 8/21/2024 in #support-community
How do I extend convex auth with my custom auth provider?
So idea is to pass 3 things from frontend
and this is where I'm stuck at:
How do I finish this implementation?
Should I use
ConvexCredentials
or should I use something else?3 replies
CCConvex Community
•Created by kstulgys on 8/14/2024 in #support-community
Am I doing this ent query correctly?
I want to get order by id but that order must belong to the account that is ctx.user.currentAccountId
3 replies
CCConvex Community
•Created by kstulgys on 8/12/2024 in #support-community
I want to deploy my website that uses convex development environment, how do I deal with SITE_URL?
I use convex auth, there are some variables that is required like SITE_URL. For this I use http://localhost:3000 when running locally, but I want to deploy my site as i.e
xyz-test.com
how can I manage different SITE_URL in this case?25 replies
CCConvex Community
•Created by kstulgys on 8/10/2024 in #support-community
Is convex capable to handle facebooks like traffic?
This question is merely experimental and just to check the intuition what convex is capable and what not.
8 replies
CCConvex Community
•Created by kstulgys on 8/9/2024 in #support-community
I use convex auth with nextjs setup, but userId always null
13 replies
CCConvex Community
•Created by kstulgys on 8/8/2024 in #support-community
What's the best way to manage long running functions in convex actions?
I have 3 async functions that depend one on each other so I can not do Promise.all
I'm running these in internal action ("use node")
each function can take ~5 seconds so total action execution time could take ~15 seconds
Is this is healthy for convex? is there a better way todo this?
13 replies
CCConvex Community
•Created by kstulgys on 8/5/2024 in #support-community
Why sometime ents one-to-one with optional: true work, sometimes not?
so my schema is this:
I first create wallet then I create balance
In other cases I also use this approach with optional: true and it seem to work fine
20 replies
CCConvex Community
•Created by kstulgys on 8/5/2024 in #support-community
Is there a way to run some code just after user is created?
If yes then when and where? Is there a way to "listen" when new user or some new entry in table is created?
24 replies
CCConvex Community
•Created by kstulgys on 8/4/2024 in #support-community
can I use convex auth with hono?
There is no such example convex auth and hono.
10 replies