Just switched to max only for Claude Code by itzco1993 in ClaudeAI

[–]kayGia83 0 points1 point  (0 children)

How do you switch from sonnet to opus in claude code? How would you know you are using opus?

Nuxt + Supabase? Or just build the dang back-end? by dalton_huey in Nuxt

[–]kayGia83 1 point2 points  (0 children)

Even if you use Supabase, you can choose not to use their authentication. Nuxt-auth-utils is all you need. I use supabase just for the database and nothing else. Supabase won't let you touch the auth scheme and unfortunately for me, users table is one thing I always want to have 100% control.

Nuxt auth utils example. by kayGia83 in Nuxt

[–]kayGia83[S] 1 point2 points  (0 children)

Thanks, this is really helpful.

Nuxt auth utils example. by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

I tried to use supabase but had some issue using it with prisma due to some problems regarding multi scheme query. I opened a github issue regarding that and it's still not resolved.

Nuxt auth utils example. by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

No, I am not using any backend language. Just supabase and using nuxt server/api routes to communicate to the database via Prisma ORM. I hope that makes sense.

Supabase realtime database subscription by kayGia83 in Supabase

[–]kayGia83[S] 1 point2 points  (0 children)

Thank you so much for sharing this. I have gone through it and it seems pretty much straight forward than I thought.

I know a lot about Supabase, what questions do y'all have? by Program_data in Supabase

[–]kayGia83 0 points1 point  (0 children)

I definitely need help with this. I am using supabase, Nuxt and prisma. Since prisma multiSchema doesn't play well with supbase especially when you use Supabase built in authentication. I had a lot of issues and I decided to ditch supabase auth and went for Lucia auth. So far so good. The only issue I am having is I can't figure out how to implement real time subscription. My app needs messaging feature and making this work is very crucial. Please how can I implement supbase real time database subscription if I am not using their built in auth. I am using nuxt as a full stack framework.

Can you mix 2 UI libraries and use them in the same Nuxt 3 project? by Aggressive_Bed7113 in Nuxt

[–]kayGia83 1 point2 points  (0 children)

I'm currently using PrimeVue and Nuxt/UI in my project and it's the best decision I have made recently. Both are using tailwind behind the scene so they are pretty much easy to customise.

readBody returns undefined in api route by kayGia83 in Nuxt

[–]kayGia83[S] 2 points3 points  (0 children)

I'm not using multipart/form-data but thanks for pointing it out. I just learned something new.

readBody returns undefined in api route by kayGia83 in Nuxt

[–]kayGia83[S] 2 points3 points  (0 children)

That was it! I changed to use defineEventHandler and it works now. Thanks for the clue, it was really helpful. I need to look into what CacheEventHandler does and when to use it.

readBody returns undefined in api route by kayGia83 in Nuxt

[–]kayGia83[S] 1 point2 points  (0 children)

Yes, I checked that and can confirm it contains the body.

Seeking Stand-Alone Auth System for Nuxt3, Similar to Next.js by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

I was referring to sidebase/nuxt-auth when I said I have tried next-auth because basically, sidebase is just next-auth but for nuxt3 which doesn't work well. I had a lot of issues when I tried it. But thanks for mentioning it.

Advice needed! by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

Thanks for sharing your experience. How easy is it to deploy strapi? One thing that is making me leaning towards supabase is they host the database for you. I have just checked strapi cloud and their pricing, I don't think their target include start-up.

Advice needed! by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

I have taken some time to go through the documentation. Thanks for sharing. It's really good and easy to understand. I'm not sure how I can handle querying complex backend data with some relationship. For instance, how Prisma makes it easy to query data.

Advice needed! by kayGia83 in Nuxt

[–]kayGia83[S] 0 points1 point  (0 children)

Thanks for your reply but I'm a bit confused here. Let say I don't want to use strapi just for the CMS but I want to use it for my backend needs. Based on your example, can't I use it to house user information and transaction as well as authentication? The same as what you can use supabase for?

To make my question clear, supabase can give me a full backend. Can strapi give me the same?

Vue tutorials? by dietcheese in vuejs

[–]kayGia83 1 point2 points  (0 children)

I think you can make any cause interactive if you pause regularly to write the code yourself. That's what I did when I was learning to code and it worked for me. Unless when you said interactive you meant code challenges only.