Turborepo and importing packages
I'm trying to get started with monorepos and am using turborepo in the toolchain. I have a git repository that contains some Next pages/api/components which I want to use in my main application (the one in the monorepo). Somehow I'm expecting to specify my git repo somewhat and then the code to by pulled into the monorepo. This would allow me to maintain common elements used in lots of applications (each in thier own monorepo) and have these included in the main app build. My question here is wh...
Integrating Discord Authentication and Tracking Voice and Message Activity
Hello everyone,
I am currently working on a T3 application, and I have a few specific requirements related to Discord integration. I would like to:
Authenticate users via their Discord account using Auth.js, but restrict access to only members of a specific Discord server....
How to inject dynamic meta tags with Next-Seo
Got a bit confused with SSR. I'm using trpc, fetching some data with which I want to construct title, description meta tags. On some sites it looks ok (displaying title and description) on some I get undefined in the text of the tags. Assuming that the tags are generated before the trpc request finished.
I've also checked issues with ssr in trpc and it confused me. Long story short, what's the best way to dynamically set meta tags for [id].tsx like files?...
Supabase + Next (help with DB rules)
I'm currently learning supabase for Nextjs(with NextAuth), just finished trying out RLS and i guess it worked.
However, i'm trying to do something else now which i'm not sure how to do:
The RLS examples that supabase provided were enough if for example a user would like to update/create his own data (something like auth_id = id)
How do i implement a feature though where for example, i have a new table called scoreboard tallying player scores. The scores should only update after some events have occured (e.g. a win or lose event from the frontend) and the user shouldn't be able to tamper with this even if he made requests via postman/curl instead, bypassing the UI. How do i do this? ...
NEXT 13 Compile Time
Hey guys, is this compile time normal for running MUI and Redux in a NEXT 13 React App? I only have a navbar going with 4 icons and already have 6s compile times.

t3 tutorial - chirp project has problems w google auth via Clerk?
Hi guys!
I recently went through theo's official T3 tutorial. However, one way i deviated from what he did was I also allowed Google auth via Clerk (not just GitHub).
TLDR a user who signed up my chirp site using google instead of GitHub isn't given a username value for the object representing them in the Clerk client? i.e.,
author.username is null even though e.g., they're profile pic is registered (author.profileImageUrl contains a url to their social account pic)?...
How to do something on register (sign up) in NextAuth?!
There's only signIn callback, and I haven't found a way to check if the user is signing in for the first time. I want to send a "thank you for registering" email.
How do I do it?...
TRPC and PRISMA id type
Currently im trying to delete a object using id in prisma using trpc.
```tsx
delete: privateProcedure.input(
z.object({...
API token authentication w/ NextAuth
have any of you tried implementing something like this? Wondering if it's time for me to swap to Clerk or Auth0 or another solution or if this will work well enough.
Private API, just provisioning my own tokens to access some privileged endpoints
I've implemented a CredentialsProvider that works well enough, but it feels strange to be doing a cookie-session exchange and passing a (short-lived) cookie with requests, rather than, say, a long-lived Bearer auth token...
I want to create and download multiple pdfs
I tried react-pdfs but I think it will be best if handle on the backend side and I cant download multiples with it
Can someone explain the difference between database hosting services?
I work for a small startup and our application is using postgres. I want some sort of solution which is easy to deploy but also handles scalability.
I first looked at Railway and it looked like they spin up a single machine for you? If that's the case seems okay for small projects, but won't help with scale.
I also looked into Heroku Postgres, which seems like they spin up additional servers if needed?...
Refine zod schema after query
How I could do with TRPC, Zod and React hook form to add an error after making a query :
Let's say I have an email input in my form, and I'd like it to be marked as an error with zod after checking on the server side that it was already there?...
typescript-eslint
```ts
import { type AppType } from "next/app";
import { type Session } from "next-auth";
import { SessionProvider } from "next-auth/react";
import Sidebar from "~/components/Sidebar";...
Add expo-router to create-t3-turbo-clerk
Since the create-t3-turbo is using the expo-router lib, I thought James version (with Clerk) was too. Got pretty confused when I couldn't see the app-folder.
Well I can see he's working on it since there's a branch literally called expo-router. Now, does anyone now if there's any guide on how to implement expo-router to the current main code?
I know I probably could just read all the changes currently done from James. But I'm too stupid to understand everything and there's a risk something probably would go wrong....
Optimistic update
I'm encountering an issue where, upon updating the data, the response updates quickly with the new list but then reverts back to the old value after a few milliseconds, before finally returning to the new value.
```
import { api } from "@/utils/api";
import type { Category } from "@prisma/client";
...
What database/service to use to store chart breakpoints.
Hey, I would like to store chart breakpoints in large amount. (aprox 5M+ breakpoints). What database/service would you recommend me to use? Afaik MongoDB has kind of structure similar to my issue.
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Hey, does someone know from a lightweight CMS which is directly integrated/coupled with/into a next.js project and has e2e type safety.
It should be possible to write a CMS which can be deployed with a nextjs catch all API route and nextjs catch all page. I was wondering if someone has already accomplished that?...