0
860views
What are the best practices for architecting a SaaS product?

We have an app which is powered by APIs from a single backend. Now we wish to create a separate SaaS app for clients which will provide 80-90% of our existing product functionality.

I've been facing challenges in architecting current code base into a SaaS offering. I need help in visualizing data separation, code separation, orchestrating services, common pitfalls, etc.

Technology stack we are using is Nodejs and MongoDB.

2 Answers
0
5views

Discussion with the tech expert at Procol

We have kept a combination of userId and clientId as composite primary key into all important collections. This helps us make query userwise, brandwise, and combination (workspace-wise).

We make use of auth token to determine which user and brand is request coming from. …

Create a free account to keep reading this post.

and 4 others joined a min ago.

0
4views

Discussion with the tech expert at Patch

If its just mongo + node, you could just separate out reusable components into a private package repository.

Then moving forward your CI/CD could take care of necessary updates to packages for SaaS and your product irrespective of which one the change …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.