Search code examples
node.jsloopbackjs

Running multiple LoopBack instances in one app?


I'm planning a REST API for multiple projects and wondering if they can be build in one app.

Would it be possible to

  1. separate the URLs to /api/app1/ and /api/app2/
  2. have independent models with the same name, so that /api/app1/model1 != /api/app2/model1 - maybe by using different databases?
  3. have a shared ACL between these two instances? E. a. creating and updating one user who has different access rules for every instance?

Solution

    1. yes, it would
    2. yes, it would
    3. yes, it would