Skip to content

This is a n-layer architecture based on Common web application architectures.

License

Notifications You must be signed in to change notification settings

nuyonu/N-Tier-Architecture

Repository files navigation

N-Tier Architecture

Build Status Quality Gate Status

This is a n-layer architecture based on Common web application 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

Maintainability Rating Reliability Rating Security Rating Coverage

Bugs Code Smells Duplicated Lines (%) Vulnerabilities


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

drawing

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

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.