RobSchilderr / nextjs-native-starter

One Next.js codebase for iOS, Android and Web using Capacitor, TailwindCSS and authentication with Supertokens, written in Typescript
https://nextjs-native.com
168 stars 16 forks source link

Adding TRPC #11

Open OliverGeneser opened 11 months ago

OliverGeneser commented 11 months ago

I'm working on implementing TRPC into the project, is it in the scope of the project? If so I will create a PR when I'm done :slightly_smiling_face:

RobSchilderr commented 11 months ago

Hey Oliver! Yes it is, but I think it should be another repo because this one should be less opinionated and really serve as an example. We can make Next Native TRPC together, I can also work on it if necessary.

OliverGeneser commented 11 months ago

I agree lets keep this repo clean and create a new one. Lets work together 👍

RobSchilderr commented 11 months ago

I agree lets keep this repo clean and create a new one. Lets work together 👍

I'll aim for making the repo tomorrow

RobSchilderr commented 11 months ago

@OliverGeneser the Next.tjs Native TRPC repository has been made! Looking forward to your contributions. You can check this PR as an example on how to work with Supertokens and TRPC.

OliverGeneser commented 11 months ago

@RobSchilderr I have totally missed the notification... I'm a little busy this weekend but I will try to move my changes into the new repo in the next week or so. If you want you can look at my changes in nextjs-native-starter-geneser/tree/trpc, the only thing I'm missing, is getting the Supertokens session in the TRPC API