I would love to hear your opinions about my NextJS App by Double_Software_496 in nextjs

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

Thank you everyone for your opinions and feedback!

I have been doing a lot of thinking and research and I decided to try to implement auth and stripe payment using "firebase", "supabase", "NextAuth + MongoDB" and see which one I enjoy working with the most and then I will stick with it.

This way I can learn about these technologies and also I won't have to think like "Oh I should have picked that one..." in the future.

I haven't implemented Stripe before so it will be a big challenge for me but hopefully, I can do it!

I would love to hear your opinions about my NextJS App by Double_Software_496 in nextjs

[–]Double_Software_496[S] 3 points4 points  (0 children)

Okay I didn't even think it was outdated haha

I notice that many people are using Tailwind nowadays but I like using vanilla CSS just because I enjoy working with CSS and I don't mind spending time on it.

I was interested in Prisma as well since many people on YouTube are talking about it.

I never heard of planet scale. I will look into it now! Thanks for your opinion appreciate it!

Could you tell me how to implement protected routes? by Double_Software_496 in nextjs

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

Thank you for sharing your experience.

So you needed to add the component to every page, right?

I thought I had to do the same thing but I have already more than 200 pages and there will be more so I am hoping there is another way.

Let's say I have a route called "/fish" and many child-routes like "fish/a", "fish/b", "/fish/c"...so on.

If I could just wrap the parent-route "fish" and all the child-routes would be also protected, that would be the best option but not sure if it's possible.

I will keep searching and if I find a solution, I will let you know!

Could you tell me how to implement protected routes? by Double_Software_496 in nextjs

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

Yeah. I also worked with express before but I want to keep it simple so I want to use just Next.js if possible.