{"id":13824320,"url":"https://github.com/nuyonu/N-Tier-Architecture","last_synced_at":"2025-07-08T19:31:27.870Z","repository":{"id":41443794,"uuid":"295144835","full_name":"nuyonu/N-Tier-Architecture","owner":"nuyonu","description":"This is a n-layer architecture based on Common web application architectures.","archived":false,"fork":false,"pushed_at":"2023-10-12T15:40:21.000Z","size":649,"stargazers_count":309,"open_issues_count":4,"forks_count":60,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-13T19:40:49.634Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuyonu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-09-13T12:17:32.000Z","updated_at":"2024-11-11T05:05:24.000Z","dependencies_parsed_at":"2024-01-13T15:52:40.741Z","dependency_job_id":"75c6149d-1f24-4601-b190-4d71d05a7df1","html_url":"https://github.com/nuyonu/N-Tier-Architecture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuyonu%2FN-Tier-Architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuyonu%2FN-Tier-Architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuyonu%2FN-Tier-Architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuyonu%2FN-Tier-Architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuyonu","download_url":"https://codeload.github.com/nuyonu/N-Tier-Architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225457761,"owners_count":17477351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-08-04T09:01:00.905Z","updated_at":"2025-07-08T19:31:27.832Z","avatar_url":"https://github.com/nuyonu.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"# **N-Tier Architecture**\n\n[![Build](https://github.com/nuyonu/N-Tier-Architecture/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/nuyonu/N-Tier-Architecture/actions/workflows/build.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n![](https://camo.githubusercontent.com/deab10366c6377e3d4cc454a26f96225e2cc196214b129b95c9d5284207b64d7/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d254630253946253843253946266d6573736167653d496625323055736566756c267374796c653d7374796c653d666c617426636f6c6f723d424334453939)\n![](https://api.visitorbadge.io/api/VisitorHit?user=nuyonu\u0026repo=N-Tier-Architecture\u0026countColor=%237B1E7A)\n\nThis 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.\n\n## **Introduction**\n\n\u003cdiv align=\"center\"\u003e\n\n[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-white.svg)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture) \n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture) \n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture) \n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=nuyonu_N-Tier-Architecture\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=nuyonu_N-Tier-Architecture)\n\n\u003c/div\u003e\n\n---\n\n## Technologies\n- .NET 9\n- ASP.NET Core 9\n- Swagger (Documentation)\n- Entity Framework Core (SQL Server)\n- ASP.NET Core Identity (SQL Server)\n- [Mapster](https://github.com/MapsterMapper/Mapster)\n- [FluentValidation](https://docs.fluentvalidation.net/en/latest/)\n- [NUnit (Integration tests)](https://nunit.org/)\n- [XUnit (Unit tests)](https://xunit.net/)\n- [FluentAssertion (Testing projects)](https://fluentassertions.com/)\n- [NBuilder (Testing projects)](https://github.com/nbuilder/nbuilder)\n\n---\n\n## Dependencies between projects\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/nuyonu/N-Tier-Architecture/master/github/images/N-Tier-Dependencies.png\" alt=\"drawing\" width=\"400\"/\u003e\n    \n\u003c/div\u003e\n\n---\n\n## **Getting Started**\n\n\u003c!-- Before you begin, please read the [requirements](#requirements).  --\u003e\n\nA 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.\n\n## Database migrations\n\nMigrations 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\n\n```c#\ndotnet ef migrations add Migration-Name --project N-Tier.DataAccess -o Persistence/Migrations --startup-project N-Tier.API\n```\n\n\u003c!-- ## **Maintainers** --\u003e\n\u003c!-- // TODO --\u003e\n\n## **Support**\n\nIf you are having problems, please let me know by raising a [new issue](https://github.com/nuyonu/N-Tier-Architecture/issues/new/choose).\n\n\n[common-web-architectures]: https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/common-web-application-architectures\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuyonu%2FN-Tier-Architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuyonu%2FN-Tier-Architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuyonu%2FN-Tier-Architecture/lists"}