Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuyonu/N-Tier-Architecture
This is a n-layer architecture based on Common web application architectures.
https://github.com/nuyonu/N-Tier-Architecture
asp-net-core blazor-webassembly clean-code dotnet dotnet6 dotnet7 entity-framework-core fleunt-validation fluent-assertions n-layer-architecture n-tier-architecture net6 net7 net70 nunit sql-server swagger webapi
Last synced: 3 months ago
JSON representation
This is a n-layer architecture based on Common web application architectures.
- Host: GitHub
- URL: https://github.com/nuyonu/N-Tier-Architecture
- Owner: nuyonu
- License: mit
- Created: 2020-09-13T12:17:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T15:40:21.000Z (about 1 year ago)
- Last Synced: 2024-05-28T04:57:10.202Z (6 months ago)
- Topics: asp-net-core, blazor-webassembly, clean-code, dotnet, dotnet6, dotnet7, entity-framework-core, fleunt-validation, fluent-assertions, n-layer-architecture, n-tier-architecture, net6, net7, net70, nunit, sql-server, swagger, webapi
- Language: C#
- Homepage:
- Size: 634 KB
- Stars: 279
- Watchers: 8
- Forks: 53
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **N-Tier Architecture**
![Build Status](https://dev.azure.com/nuyonu/N-Tier-Architecture/_apis/build/status/nuyonu.N-Tier-Architecture?branchName=master)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=alert_status)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
![](https://camo.githubusercontent.com/deab10366c6377e3d4cc454a26f96225e2cc196214b129b95c9d5284207b64d7/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d254630253946253843253946266d6573736167653d496625323055736566756c267374796c653d7374796c653d666c617426636f6c6f723d424334453939)
![](https://visitor-badge.glitch.me/badge?page_id=nuyonu/N-Tier-Architecture)This is a n-layer architecture based on [Common web application architectures][common-web-architectures]. The technologies used can be found below. It will be updated to the latest versions, depending on how stable they will be.
## **Introduction**
[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-white.svg)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=security_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=coverage)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=bugs)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=code_smells)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)---
## Technologies
- .NET 7
- ASP.NET Core 7
- Swagger (Documentation)
- Entity Framework Core (SQL Server)
- ASP.NET Core Identity (SQL Server)
- AutoMapper
- FluentValidation
- NUnit (Integration tests)
- XUnit (Unit tests)
- FluentAssertion (Testing projects)
- NBuilder (Testing projects)---
## Dependencies between projects
---
## **Getting Started**
A quick method to use the exposed solution is to download a copy of this project, if you meet all the requirements, the project will run without any problems and can be used from the first second.
## Database migrations
Migrations will be applied automatically. If you want to add new migrations to be applied to over the database, you will need to run the command below in the root folder
```c#
dotnet ef migrations add Migration-Name --project N-Tier.DataAccess -o Persistence/Migrations --startup-project N-Tier.API
```## **Support**
If you are having problems, please let me know by raising a [new issue](https://github.com/nuyonu/N-Tier-Architecture/issues/new/choose).
[common-web-architectures]: https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/common-web-application-architectures