All Projects → aliakseiherman → eixample

aliakseiherman / eixample

Licence: MIT license
Multi-Tenant .NET 6 Architecture (Angular, Vue, React)

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to eixample

Kodkod
https://github.com/alirizaadiyahsi/Nucleus Web API layered architecture startup template with ASP.NET Core 2.1, EF Core 2.1 and Vue Client
Stars: ✭ 45 (-26.23%)
Mutual labels:  entity-framework-core, asp-net-core, automapper
Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
Stars: ✭ 46 (-24.59%)
Mutual labels:  entity-framework-core, asp-net-core, automapper
Aspnetcore Realworld Example App
ASP.NET Core backend implementation for RealWorld
Stars: ✭ 1,315 (+2055.74%)
Mutual labels:  entity-framework-core, asp-net-core, automapper
RCM
RCM is a simple CRM application designed for Auto Parts Store made with ASP.NET Core based on DDD, CQRS and SOLID Principles.
Stars: ✭ 29 (-52.46%)
Mutual labels:  entity-framework-core, asp-net-core, automapper
Angular Asp.netcorewebapi Mysql Crud Project
Angular 5 + ASP.Net Core 2.0 WebAPI + MySQL CRUD Sample
Stars: ✭ 22 (-63.93%)
Mutual labels:  bootstrap4, entity-framework-core, asp-net-core
SPA-With-Blazor
Creating a Single Page Application with Razor pages in Blazor using Entity Framework Core database first approach.
Stars: ✭ 27 (-55.74%)
Mutual labels:  entity-framework-core, asp-net-core
LocalTransactionTableTest
利用rabbitmq做消息队列,通过本地消息事务表序列化消息,通过定时轮训保证消息强行落地,最终达到数据最终一致性
Stars: ✭ 19 (-68.85%)
Mutual labels:  entity-framework-core, asp-net-core
Joker
An example of microservices container based application which implemented different approaches within each microservice (DDD, CQRS, Simple CRUD)
Stars: ✭ 41 (-32.79%)
Mutual labels:  entity-framework-core, automapper
multitenant
Multi-Tenant Spring Boot Application with separate databases using Hibernate and H2.
Stars: ✭ 15 (-75.41%)
Mutual labels:  multi-tenant, multi-tenancy
KickStart
Application initialization helper
Stars: ✭ 42 (-31.15%)
Mutual labels:  autofac, automapper
CRUD.ASPCore.Reactjs.WebAPI.EF
CRUD Operations in ASP.NET Core application using React.js , Web API and Entity Framework core DB first approach with the help of VS 2017.
Stars: ✭ 80 (+31.15%)
Mutual labels:  entity-framework-core, asp-net-core
RestWithASP-NETUdemy
No description or website provided.
Stars: ✭ 40 (-34.43%)
Mutual labels:  entity-framework-core, asp-net-core
ArchitectNow.ApiStarter
Sample ASP.NET Core 2 API Setup used by ArchitectNow for corresponding workshop presentations
Stars: ✭ 35 (-42.62%)
Mutual labels:  autofac, automapper
.NET-Core-Learning-Journey
Some of the projects i made when starting to learn .NET Core
Stars: ✭ 37 (-39.34%)
Mutual labels:  entity-framework-core, asp-net-core
AutoMapper.Contrib.Autofac.DependencyInjection
Autofac plug-in for AutoMapper.
Stars: ✭ 14 (-77.05%)
Mutual labels:  autofac, automapper
ITL
Sample Web API implementation with .NET Core and DDD using Clean Architecture.
Stars: ✭ 29 (-52.46%)
Mutual labels:  entity-framework-core, automapper
Asmin
Asmin is .NET CORE project infrastructure, to get a quick start on the project.
Stars: ✭ 89 (+45.9%)
Mutual labels:  entity-framework-core, asp-net-core
awesome-landlord
A simple, single database multi-tenancy solution for Laravel 5.2+
Stars: ✭ 41 (-32.79%)
Mutual labels:  multi-tenant, multi-tenancy
multi-tenancy-devise
mtdevise adds basecamp style user logins to your ruby on rails application.
Stars: ✭ 27 (-55.74%)
Mutual labels:  multi-tenant, multi-tenancy
ng-toggle
Bootstrap-styled Angular Toggle Component
Stars: ✭ 14 (-77.05%)
Mutual labels:  bootstrap4, angular6

eixample

Multi-Tenant .NET 6 Architecture (ASP.NET Core)

image

Features

  • Multi-Tenancy
  • Tenant resolved by subdomain
  • Audit at EF Core level
  • Soft Delete DEPRECATED — reason: it's unnatural for RDBMS to keep inactive records; leads to issues with FK constraint; use separate database to keep the log of the deleted records along with the related info; alternatively, consider Event Sourcing pattern;
  • Automatic HTTP proxies generation for the front-end (Angular)
  • JWT Authentication
  • SPA front-end (Angular, Vue, React)
  • basic login / signup functionality
  • demo functionality (demonstrates audit functionality)
  • one user per multiple tenants (as with *.stackexchange.com)

Setup

The setup is pretty straightforward if you are familiar with Entity Framework Code First approach & Node.js.

Add to hosts:

127.0.0.1       eixample
127.0.0.1       subdomain1.eixample
127.0.0.1       subdomain2.eixample

Open back-end solution in Visual Studio, make sure the connection string is correct.

Go to Package Manager Console and run the following command against Entity Framework project:

Update-Database

Note that Seed Data doesn't work with SQL Server 2017 without explicitly stating DateTime fields are of datetime2 type e.g.

[Column(TypeName = "datetime2")]

Go to angular folder & run the following commands:

npm install
ng serve --host eixample --disable-host-check --port 4000

Access the website

http://subdomain1.eixample:4000
http://subdomain2.eixample:4000/

Default login details:

username: admin
password: 123qwe

Screenshots

image

image

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].