How to host same code for multiple products?

4/30/2019

I have three products like google have drive, gmail, docs. Now for all three I have a same database. All three have different code but user-management code is same for all. Example user role , privilege management. So what is the way to integrate same code in all the application? So I need not to re-write it for all products.

I'm using Node.js/express, Docker, Azure.

-- ATUL SHARMA
azure
docker
kubernetes
microservices
node.js

1 Answer

4/30/2019

You can add your shared code to volume or any path on node, then mount it to your applications/containers.

More information about Volumes in Docker.

If you need further assistance, please provide more information about your deployment.

-- coolinuxoid
Source: StackOverflow