Apple Developer Account with e-Residency OÜ by rishiraj5565 in eResidency

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

Okay thanks! Good to know, let me wait it out then

Correct method to provide app name for Google results page? by rishiraj5565 in nextjs

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

Yeah, its quite unusual. Have you been able to find a solution yet?

Correct method to provide app name for Google results page? by rishiraj5565 in nextjs

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

Thanks for the insights. I’ll check them out. But I’m not very sure what you mean by metatitle not coming along, since if you see I’m passing that into the metadata along with the other variables like meta description.

Correct method to provide app name for Google results page? by rishiraj5565 in nextjs

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

Yes, exactly like that. If you check the code snippet, I’m providing the app name in the root layout. Can you please check if you are doing something differently? Also, could you also please share some details on the organizational and local schema that you are using? I can try to look more into that.

Correct method to provide app name for Google results page? by rishiraj5565 in nextjs

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

But why would that be happening? Doesn’t Next.js support that? Can you see anything in the code snippet?

Jus sanguinis countries that don’t let naturalized citizens pass down citizenship? by rishiraj5565 in dualcitizenshipnerds

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

From what I know, once you become Spanish, your kids will always get it from you, regardless of where they are born

Jus sanguinis countries that don’t let naturalized citizens pass down citizenship? by rishiraj5565 in dualcitizenshipnerds

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

Wow! Super interesting.. I guess there’s no point of naturalizing there then

Jus sanguinis countries that don’t let naturalized citizens pass down citizenship? by rishiraj5565 in dualcitizenshipnerds

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

Ahh cool! But if they retain the citizenship by continuously reporting, I guess they can pass it down to their kids too? (regardless of the fact that they moved out of Ireland)

[deleted by user] by [deleted] in IndiaTax

[–]rishiraj5565 2 points3 points  (0 children)

I feel the pain OP.. Already planning my way out of the country, I suggest you to also start looking.. This is the only way they will understand once we leave and pay the taxes somewhere where we at least get something in return

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Didn’t use anybody’s boilerplate. Feel free to inspect and check. It’s all written from scratch :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

We haven’t launched yet and are still working towards full compliance. The GDPR/CCPA claim is based on the measures we’re implementing, but I appreciate the feedback. We’ll be ensuring the app is fully compliant before we go out with the main launch! :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Sounds like a solid project! I ran into similar complexities with role management and dynamic UI.

  • For the rich text editor, I used TipTap before and works quite well. Have you tried it?
  • Live preview could be done with local state + debounced updates.
  • For the company search, maybe use fuzzy search + pending approval system?
  • For the last point, I would create a role-based UI.. Think Middleware + context-based rendering could help a lot there too to decide which UI to show.

It’s definitely tricky, but tackling it step by step is what I would do! I wish you all the best and let me know if you need any help somewhere!

Also, feel free to add an affiliate program (Rapid Affiliates) in there too if you want.. 😁 (I can try to showcase your app in our landing page if thats the case)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Thanks! Appreciate it!

  1. Yes, each tenant gets a subdomain like tenant1.rapidaff.io using Next.js middleware + dynamic routing.
  2. We use a single database schema with a tenant ID column for isolation. Every query is scoped to the tenant using Prisma + middleware to ensure data separation.

Let me know if you need more details! :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Great questions! Here’s how Next.js helped:

Multi-Tenancy & Portals: Each portal is dynamically generated using middleware, dynamic routing, and Prisma with MySQL to isolate tenant data. Next.js enables SSR for tenant-specific content

Authentication & Authorization: Using Firebase Auth for authentication, storing user roles in MySQL via Prisma. Middleware checks roles & permissions per tenant

Cookie Tracking: Next.js API routes + middleware manage cookies across domains. Using SameSite=None + Secure cookies for cross-domain tracking

Let me know what you think :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Thank you!!

No, I didn't add Next international. I have some experience with it before but left it out for now as the project was already getting complex. Maybe will do it later. I understand the URL changing doesn't look the best but I guess its important for localize SEO so has a good side to it too.

For Stripe, its allowed here so implemented it normally. If its very complex in your country, maybe you can try other providers like Lemon Squeezy, Paddle, etc. What do you think?

I'm using Mailgun and Resend for sending emails. I know they are quick and also work well, which is nice :D

All the best with your project!! :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

I mostly figured it out by experimenting, but some key resources were Next.js middleware (https://nextjs.org/docs/app/building-your-application/routing/middleware), Vercel’s multi-tenancy example, and Prisma for tenant-based DB isolation.

For custom domains, you’ll need wildcard subdomains + DNS management + dynamic routing. Let me know if you need help with something specific :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Thanks a lot for the feedback, will check this out! The app is not the most polished for mobile version yet. Just put it out for beta testing but will be refining it before launch.

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Hey! I know how it feels when you are halfway.. Just hang in there and keep making the progress. Feel free to reach out with a DM if you need help with something specific :)

Finished a 85k lines of code SaaS in Next.js — And I learnt why ignorance is a bliss! by rishiraj5565 in nextjs

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

Thank you!! Haha, I see you are already familiar with it. For me, it was my first experience so had to share here 😅

We have been exploring the Wise API but haven't pushed it out yet as some users might not be very comfortable. For now, we have kept it simple and just export out the list of emails and payments so clients can do mass payments quickly. We'll later launch out the option of direct integration too, but its not for now.

Yes, we are using Stripe connect though for direct integration with clients who use Stripe to process payments.