Starts in:
1 DAY
6 HRS
39 MIN
38 SEC
Starts in:
1 D
6 H
39 M
38 S

Activities of "theChrisMarsh"

We are looking for APB's advice on our software use case. Specifically the Host versus Tenant architecture.

We are building a product where a certain kind of user (let's call it a Doctor) has data and a user experience (workflows, UI screens) that is associated with just them, using their own personal "Account". For example, their personal claims, or doctors, or health records. This data and user experience is independent of what the Host user accounts would experience.

We then have an Employer that has their own set of data, and multiple users (that may or may not also be Doctors). The tenant structure makes perfect sense for this set of data and functionality, but (here is the main requirement) a Doctor could be associated with an Employer tenant or could be unassociated with any tenant.

Where we need advice is how to use the ABP framework (host vs tenant) for separating the 3 "products":

  • Host Users for the Host need to be able to access the "Host" application (managing tenants, language strings, audit logs, etc).
  • Doctors need to access a "Doctors" application (updating their personal information, choosing which "Employer" they want to associate themselves with if any, etc).
  • Employer Users need to access a tenant-level "Employer" application (updating their company information, approving which "Doctors" can work within their tenant, etc).

How should we architect this solution? How do we use the tenant and base class concepts for separating these out and creating 3 different "products".

  • ABP Framework version: v7.3.3
  • UI Type: Angular
  • Database System: EF Core

I have a commercial Business license with access to source code. How do I install the LeptonX theme source code into my angular site as a project using the CLI? I have tried:

 > abp add-package @volosoft/abp.ng.theme.lepton-x --with-source-code 
 ABP CLI 7.3.3
 '@volosoft/abp.ng.theme.lepton-x' npm package could not be found!

This does work for the Basic theme, but I need the LeptonX theme:

 > abp add-package @abp/ng.theme.basic --with-source-code 
 ABP CLI 7.3.3
 '@volosoft/abp.ng.theme.lepton-x' npm package could not be found!

We are looking for architecture advice given the ABP Host / tenant model.

Example Business Model Scenario

A car dealership SaaS Application that helps them run their business (payroll, inventory of "Vehicles", sales, taxes, contracts, repair shop, etc). This would be implemented in the multi-tenancy model, with different editions, each tenant getting their own database, etc.

In addition, a Shared Marketplace where all the inventory of "Vehicles" from each tenant is merged together and presented together to the public.

Architecture Questions

How would you recommend we implement Entities (or Aggregate Roots) for Vehicles?

Would Vehicles be Non-Multi-Tenant (part of the host)? If so:

  • How would we link those back to tenants?
  • How would we secure them so they could only be modified by the owning tenant?

Should "Vehicles" implement the IMultiTenant interface? If so:

  • How would we search across all tenant's inventory of "Vehicles" at the same time in a performant way?
  • ABP Framework version: 3.1 (latest)

  • UI type: Angular

  • Tiered (MVC) or Identity Server Seperated (Angular): No

  • I am looking for tutorials or instructions on customizing the Angular Lepton themes. Questions:

  1. How do I download the current angular theme source code (not the minified NPM package)? I assume using abp get-source <module-name> but I don't know the module name.
  2. Is there any tutorial on replacing or customizing the theme files?
  3. How would I eliminate Style1-6 and replace it with two styles, light and dark?
    • Where does the UI get the information about which styles are available?
Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06