Hosna Qasmei
CCConvex Community
•Created by Hosna Qasmei on 9/17/2024 in #support-community
Resources for Implementing User Roles
I'm looking to implement user roles for access control. Does anyone know if there are any specific resources, documentation, or best practices for setting up user roles with next.js, clerk and convex?
How to intercept requests and check user roles
Best practices for redirecting to role-appropriate routes
Handling unauthorized access attempts
6 replies
CCConvex Community
•Created by Hosna Qasmei on 7/17/2024 in #support-community
Trying to add rate limiting to newsletter sign up
I have this code, I'm trying to implement rate limiting so I don't get DDOS and to learn how to use it.
If a user isn't logged in, and I want to limit based on IP address how would i do that?
Also with the convex-helpers @ian , how does it know to increment? Does it just find the item with the same key?
How do I get the key to be the IP address?
Thank you
4 replies
CCConvex Community
•Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
I have this function to call all the items in a table
I want to implement infinite scrolling, so rather than overloading the app only show more items when scrolling wanted to know if there is a way I can do this server side rather than client side.
64 replies
CCConvex Community
•Created by Hosna Qasmei on 6/20/2024 in #support-community
Download Table data as a CSV from Convex Dashboard
9 replies
CCConvex Community
•Created by Hosna Qasmei on 6/14/2024 in #support-community
How do you call a function from a sub file in python
12 replies
CCConvex Community
•Created by Hosna Qasmei on 5/1/2024 in #support-community
Querying Data in the Server to Show in Metadata
8 replies
CCConvex Community
•Created by Hosna Qasmei on 4/22/2024 in #support-community
is it possible to query .order based on a variable?
5 replies
CCConvex Community
•Created by Hosna Qasmei on 3/28/2024 in #support-community
Can’t delete Log Stream Integration
4 replies
CCConvex Community
•Created by Hosna Qasmei on 3/2/2024 in #support-community
Is it possible to call a mutation in a Next.js API route?
I am trying to implement Stripe Oauth into my Next.js app. I get the users user id and access tokens from an api route, /api/stripe/verify.
When I get those values I wanted to create a row in my convex table, but the only way it work is with use client.
Wanted to know what the best approach for this is. Here is the code I'm referring too
3 replies
CCConvex Community
•Created by Hosna Qasmei on 2/28/2024 in #support-community
_creationTime schema setup
51 replies
CCConvex Community
•Created by Hosna Qasmei on 2/23/2024 in #support-community
Jupyter Notebook + Convex
Wanted to know if it's possible to use convex to upload a value into a table from values calculated using python in Jupyter Notebook?
It seems like there isn't because you have to be running the convex server, just wanted to double check.
26 replies
CCConvex Community
•Created by Hosna Qasmei on 1/19/2024 in #support-community
Any good resources for Convex + Resend?
Hi, I'm looking if there are any docs on using resend with convex
6 replies