Angular 8 Multi Tenant Architecture - Part 1

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 3

  • @hemantparmar11
    @hemantparmar11 4 года назад

    Thanks Srinivas. I would like to build a MEAN app that can be used by multiple customers. Typically in MEAN app we connect to MongoBD using a connection string. This connection string specifies the db name to connect to. The app stores data in collections within that db. When the app is for multiple customers, one would like to have separate db for each customer. So based on the user that has logged in to the app the db should be defined in the connection string. How to achieve this?

  • @dmytrodomaretskyi5757
    @dmytrodomaretskyi5757 3 года назад

    You can use:
    1. ng new multi-tenant-project --create-application false
    2. ng generate application US
    To avoid all that recreating on the beginning 😊
    and you can do the same things like run, build etc... with correct structure. For my point of view it's better way to do it.

  • @lebelgetv4529
    @lebelgetv4529 5 лет назад +1

    it's almost impossible to listen to you