- Miguel Alzate
- PowerServer
- Monday, 4 December 2023 05:36 PM UTC
Hello Community!
I have two applications (say, APP1 and APP2), both compiled from the same source code, but each pointing to a different database (say, DB1 and DB2). When installing applications on the same server, the installer automatically creates two API folders, one for each application (in this case, APP1_API and APP2_API), which requires the creation of two different websites.
The question is, can't a single API be used for both applications (since, as I mentioned at the beginning, both have the same source code) that points to the respective DB according to the configuration of the Applications.json file, which allows specifying the database for each application?
Thanks in advance for any help!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.