在一个应用程序中运行多个LoopBack实例?

时间:2023-01-18 18:31:55

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

我正在为多个项目规划一个REST API,并想知道它们是否可以在一个应用程序中构建。

Would it be possible to

是否有可能

  1. separate the URLs to /api/app1/ and /api/app2/
  2. 将URL分隔为/ api / app1 /和/ api / app2 /
  3. have independent models with the same name, so that /api/app1/model1 != /api/app2/model1 - maybe by using different databases?
  4. 拥有相同名称的独立模型,以便/ api / app1 / model1!= / api / app2 / model1 - 可能使用不同的数据库?
  5. have a shared ACL between these two instances? E. a. creating and updating one user who has different access rules for every instance?
  6. 在这两个实例之间有共享ACL吗? E. a。创建和更新每个实例具有不同访问规则的用户?

1 个解决方案

#1


1  

  1. yes, it would
  2. 是的,它会的
  3. yes, it would
  4. 是的,它会的
  5. yes, it would
  6. 是的,它会的

#1


1  

  1. yes, it would
  2. 是的,它会的
  3. yes, it would
  4. 是的,它会的
  5. yes, it would
  6. 是的,它会的