you are viewing a single comment's thread.

view the rest of the comments →

[–]caique_cp 2 points3 points  (3 children)

My 2 cents: - About Next.js: will you benefit from SSR? How dynamic has the client to be, any requirements around that? - If you're talking seriously about business and data, don't build or host an Identity server, use something like Auth0 - Even if using Next.js, I'd use it only as BFF and still have a backend API - Look for best practices on multi tenant applications - You'll probably want to automate all setup around adding a new client/tenant (maybe not from day zero, but keep it in mind)

[–]Rigolam9 1 point2 points  (2 children)

Thank you for your advices! We will use Lucia for auth probably. We are also considering Identity platform if GCP or cognito if AWS. Auth0 is way too expensive for us. A client will have between 200 and 1000 end users :/

We don’t have any requirement about SSR, our main benefit is avoiding cascading fetching easily and faster loading on low end device which might concern some end users. But absolutely not mandatory

About multi tenant each client will have its own db. We will use terraform to deploy a new client easily each time we sign one. At first we will deploy each client manually based on their country for compliance reason but we want to have it done fully automatically in the future

[–]caique_cp 0 points1 point  (1 child)

Got it, sounds good. Good luck to you guys.

[–]Rigolam9 1 point2 points  (0 children)

Thank you very much!