Ends in:
7 DAYS
11 HRS
38 MIN
21 SEC
Ends in:
7 D
11 H
38 M
21 S
Open Closed

How to setup ABP for my target structure #3766


User avatar
0
m_josiah created

Hi

I would like advice on the best way to set up my ABP solution with the following requirements in mind.

Host solution

  • Does not have any tenant data
  • Has its own Identity database which also holds host data
  • Has its own UI to administer tenants, features and general host data

Tenant Solution

  • Has its own database completely separate from the host
  • Has its own UI to build out the tenant software
  • Holds customer information and validates users against the identity server (host solution)
  • Modules with UI and its own entities which are combined with the main tenant dbcontext (I want one context across all modules)
    • Can my module use the main dbcontext?

Basically, I am building a billing system with the main tenant application being a base CRM. We then can have modules for things like Analytics, Sales, invoices etc. These modules have their own schema which can be migrated into the main tenant database (so invoice tables are added to the tenant db if an invoice module is added) and the modules can utilize the customer entities that are part of the base CRM. This billing system authenticates with a separately hosted identity server (which is also the main host and manages features etc).

I hope this makes sense.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Modules with UI and its own entities which are combined with the main tenant dbcontext (I want one context across all modules)

    The context cannot across all modules,

    Others can integrate well with the abp framework.

    https://docs.abp.io/en/abp/latest/

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06