jonnyfapson
jonnyfapson
TTCTheo's Typesafe Cult
Created by Amos on 11/24/2022 in #questions
Sentry with Next.js in an Nx monorepo?
I only use turbo for a repo with 4 proejcts + 7 libraries, and it works great there, I don't have experience with any enterprise-like sizes. But, I did try to use NX, and found it extremely difficult to get started, I spent hours setting it up and figuring out what the best way to set it up was. I ended up switching to turbo, because it just works and isn't very opnionated.
12 replies
TTCTheo's Typesafe Cult
Created by Amos on 11/24/2022 in #questions
Sentry with Next.js in an Nx monorepo?
Did you try turborepo?
12 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/19/2023 in #questions
Is there something like tailwind ui / headless ui for react native?
Great, thanks!
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/9/2023 in #questions
Is there an existing tailwind-react library to use?
But can you also override these styles globally?
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/9/2023 in #questions
Is there an existing tailwind-react library to use?
Thanks, but from my understanding the customizability seems to be very limited, as it only provides the react components as exports.
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/9/2023 in #questions
Is there an existing tailwind-react library to use?
Thanks, this seems to be exactly what I was looking for!
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/1/2023 in #questions
How to handle color codes in (medium-big) projects?
Thanks, this is a good step forward to what I was looking for, but there still was no mention of the actual color-issue, as the application grows.
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 3/1/2023 in #questions
How to handle color codes in (medium-big) projects?
I don't see the harm in passing in props like 'variant' etc. to be honest
6 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/16/2023 in #questions
Is it secure to include the 'admin' api in the 'standard' trpc api?
It's certain that interfaces etc. are removed BUT a lot of people also export their zod schemas etc. which certainly won't be removed. Also, I'm concerned about the contract itself, in order for the frontend to be able to make calls to the backend, at least the admin routes, i.e. /api/v1/admin/user/create (or whatever path trpc creates), need to be shared with the frontend, don't they? Again, I'm NOT concerned with leaking any actual implementation or creating an api, which isn't authed. This is purely because I wouldn't want any 3rd parties to know what kind of methods my backend provides to admin users.
11 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/16/2023 in #questions
Is it secure to include the 'admin' api in the 'standard' trpc api?
Yes, I'm aware of this method and this is also what I'm currently using, thanks 🙂
11 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/16/2023 in #questions
Is it secure to include the 'admin' api in the 'standard' trpc api?
I know that, but still, having the admin api contract public may not be a good idea.
11 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/16/2023 in #questions
Properly call trpc from state (Mobx, Zustand etc.)
This is exactly what I was looking for
4 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/16/2023 in #questions
Properly call trpc from state (Mobx, Zustand etc.)
Thanks a lot!
4 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/15/2023 in #questions
How to deal with more complex / repeating backend logic?
Thanks, I think this is the best way to do this 👍
10 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/15/2023 in #questions
How to deal with more complex / repeating backend logic?
Like I said, this leads to a lot of code duplication, which I'd like to avoid
10 replies
TTCTheo's Typesafe Cult
Created by Amos on 11/24/2022 in #questions
Sentry with Next.js in an Nx monorepo?
I find NX to be a terrible monorepo for small companies. The tooling required is just not worth it.
12 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/10/2023 in #questions
Concrete guide for Credentials Provider with T3 + Next auth?
I think there are a bunch of other tables needed in the db, for it to work properly with the adapter, but thanks for your help!
7 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/10/2023 in #questions
Concrete guide for Credentials Provider with T3 + Next auth?
Thank you! Do you also have an example that includes credentials + an auth method like FB in one, as handling the db adapter to work with credentials + other methods is often pretty cumbersome from my experience.
7 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 2/7/2023 in #questions
Great next+tailwind landingpage for an app?
Thanks, I find they are decent looking, but there aren't that many, that focus on the 'app' part, most are for simple SAAS web-apps
5 replies
TTCTheo's Typesafe Cult
Created by jonnyfapson on 1/7/2023 in #questions
How to handle Schema changes with Prisma?
Thanks a lot! I will gladly checkout your suggestions!
13 replies