burnstony#1975
CCConvex Community
•Created by burnstony#1975 on 12/18/2024 in #support-community
Zod
https://stack.convex.dev/typescript-zod-function-validation
is it a good idea to use Zod for validation - I just started using tanstack forms and have used zod a little and liked it.
any thoughts on using it as described in this article
4 replies
CCConvex Community
•Created by burnstony#1975 on 12/14/2024 in #support-community
Multi-part complicated forms
I am pretty new to front end development.
I am building with Next.js for the front end, I am building an app that is a multipart form for building a rather large json eventually. Wondering what the best approach is. In particular I am not sure what the best approach is on the front end.
18 replies
CCConvex Community
•Created by burnstony#1975 on 12/13/2024 in #support-community
create a new account
I have an account
But I'd like to set up a new account for a startup I am working with, and I'd like to keep the two accounts seperate.
Currently, I only have one github login. I am a member of the startup's organization and have an email from the organization, but am not currently using that email to login to github
14 replies
CCConvex Community
•Created by burnstony#1975 on 12/13/2024 in #support-community
adding a project to an account
how do I add an existing convex project to an account?
8 replies
CCConvex Community
•Created by burnstony#1975 on 12/12/2024 in #support-community
httpAction
can't seem to get the body inside an http post action
https://docs.convex.dev/functions/http-actions
body is undefined everytime?
TS
import { httpAction } from "./_generated/server";
import { internal } from "./_generated/api";
export const postMessage = httpAction(async (ctx, request) => {
const { author, body } = await request.json();
await ctx.runMutation(internal.messages.sendOne, {
body:
Sent via HTTP action: ${body}
,
author,
});
return new Response(null, {
status: 200,
});
});11 replies
CCConvex Community
•Created by burnstony#1975 on 12/11/2024 in #support-community
query inside an action
is it possible to call a query from inside an action
3 replies
CCConvex Community
•Created by burnstony#1975 on 11/20/2024 in #support-community
Sharing data between modal and convex
What’s the best way to share data between modal.com and convex.dev
3 replies
CCConvex Community
•Created by burnstony#1975 on 11/19/2024 in #support-community
Choosing a React Framework
Is their a guide or advice for choosing a React Framework
I’ve been listening to the podcast which seems very opinionated about front end approaches and keeping it simple. However I’m new to React and it’s difficult to know the pluses and minuses of different frameworks
13 replies
CCConvex Community
•Created by burnstony#1975 on 11/18/2024 in #support-community
Python
i have talked to several companies that are using fullstack javascript/typescript plus a data processing pipeline that uses python
Of course, we should use convex for the typescript backend
but what is the simplest recomendations for the rest
1. front end, which framework is best when starting out with react
2. what is a good solution for running a python data pipeline
6 replies
CCConvex Community
•Created by burnstony#1975 on 8/2/2024 in #support-community
CONVEX_DEPLOY_KEY monorepo
trying to deploy a Vite project from vercel
I have a monorepo, because I also have native project
I can't figure out what the right command
cd apps/web-vite && pwd && npm run build && cd ../../packages/backend && pwd && npx convex deploy
this deploys, but than I get this error
"Uncaught Error: ConvexReactClient requires a URL like 'https://happy-otter-123.convex.cloud'.
at new Bw (client.js:51:13)
at main.tsx:17:16"
9 replies
CCConvex Community
•Created by burnstony#1975 on 7/26/2024 in #support-community
Mono repo with Convex auth
I am using convex auth for my expo app
Currently I am still using Clerk in my Next.js app for the web app
I don't think I need any functionality the Next.js provides and am thinking of using Vite instead
is there a command to add a vite app to my monorepo
8 replies
CCConvex Community
•Created by burnstony#1975 on 7/26/2024 in #support-community
convex auth user info
if I am using convex auth, how do I get the user id from the backend
is there something like ctx.auth
I was using ctx.auth.getUserIdentity and using tokenIdentifier, but it makes more sense to use user id
but I am unsure the correct pattern to get that info
3 replies
CCConvex Community
•Created by burnstony#1975 on 7/24/2024 in #support-community
punny code
(node:4970) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
does everyone get this warning4 replies
CCConvex Community
•Created by burnstony#1975 on 7/23/2024 in #support-community
Convex Auth Apple
106 replies
CCConvex Community
•Created by burnstony#1975 on 7/19/2024 in #support-community
Convex Auth Prod
Have github and google convex auth working for react native app in DEV
in PROD
in prod I use the saem JWKS and JWT_PRIVATE_KEY as DEV
and copied AUTH_GITHUB_ID, AUTH_GITHUB_SECRET, AUTH_GOOGLE_ID, AUTH_GOOGLE_SECRET from the respective sites
SITE_URL https://www.everwhz.com
on GITHUB set callback https://tame-condor-52.convex.site/api/auth/callback/github
on Google added https://tame-condor-52.convex.site/api/auth/callback/google to the URI list
The login pop up appears to work normally, but than the second sign in call doesn't work
54 replies
CCConvex Community
•Created by burnstony#1975 on 7/16/2024 in #support-community
Convex Auth - Expo React Native
trying to use convex auth
following the instructions
https://labs.convex.dev/auth/config/oauth
LOG __clerk_client_jwt was used 🔐
│ LOG __clerk_client_jwt was used 🔐
│ ERROR TypeError: Cannot read property 'signIn' of undefined
import { StyleSheet, View, Text, TouchableOpacity, Image } from 'react-native';
import { RFValue } from 'react-native-responsive-fontsize';
import React from 'react';
import { AntDesign } from "@expo/vector-icons";
import { useAuthActions } from "@convex-dev/auth/react";
import { makeRedirectUri } from "expo-auth-session";
import { openAuthSessionAsync } from "expo-web-browser";
const redirectTo = makeRedirectUri();
const LoginScreen = () => {
const { signIn } = useAuthActions()30 replies
CCConvex Community
•Created by burnstony#1975 on 7/15/2024 in #support-community
Apple App review
got the clerk login in for the monorepo working on my app as far as I can tell
However, during app review in App Store Connect, I get the following bug
Bug description: After we tap on Continue with Google or Continue with Apple, and we authenticate, the app returns to the log in screen.
I can't figure out how to reproduce the error, or how to get any information on what or why this happens I am new to app development, any help is much appreciated expo and clerk are much less helpful than convex
I can't figure out how to reproduce the error, or how to get any information on what or why this happens I am new to app development, any help is much appreciated expo and clerk are much less helpful than convex
14 replies
CCConvex Community
•Created by burnstony#1975 on 7/10/2024 in #support-community
monorepo logs
my logs for https://www.convex.dev/templates/monorepo
where working correctly were I could select each of the seperate apps
but now they are just all inteleaving together, not sure why they worked before or what broke
does anyone know what is actaully supporting the advanced logging features I dont know what to even look for
17 replies
CCConvex Community
•Created by burnstony#1975 on 7/10/2024 in #support-community
React Native Clerk
I am trying top submit my app to the apple app store but it was rejected because of a bug with my Clerk integration
"Bug description: The app remained on the login page after we tapped on Continue with Google and logged in with an account."
my app is directly derived from this
https://www.convex.dev/templates/monorepo
i think the integration is similar or the same to
https://docs.convex.dev/auth/clerk
but I am currrently reviewing that and checking
Has anyone submitted a clerk app wioth clerk integration successfully to Apple?
31 replies
CCConvex Community
•Created by burnstony#1975 on 6/26/2024 in #support-community
versions of clerk-react and convex
Package everwhz@workspace:. is requested to provide react by its descendants
everwhz@workspace:.
├─ clerk-react@npm:0.1.9 [a2c86] (via ^16.8.0)
└─ convex@npm:1.12.2 [a2c86] (via ^17.0.2 || ^18.0.0)
what versions of clerk-react should be used with convex?
6 replies