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