Clean-Architecture-Template

(β˜… 308)

🧹 Ready to develop template based on clean architecture principles. Supports ASP NET Core Identity integrated with JWE tokens, OTP authentication, stand alone plugin development, CQRS pattern using MediatR library and dynamic permission management system out of the box

  • .gitattributes
  • .gitignore
  • CleanArcTemplate.nuspec
  • CleanArcTemplate.sln
  • Directory.Packages.props
  • docker-compose.yml
  • Dockerfile
  • LICENSE.md
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/babaktaremi/Clean-Architecture-Template

Downloads the entire project code from GitHub to your computer.

cd Clean-Architecture-Template

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t bobby-cleanarc -f Dockerfile .

Builds a runnable image based on the Dockerfile.

docker-compose up -d

Runs the command against the services defined in the compose file.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. .NET

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
dotnet new install Bobby.CleanArcTemplate

Type this command into your terminal and run it.

dotnet new ca-template

Type this command into your terminal and run it.

dotnet dev-certs https -ep $env:USERPROFILE/.aspnet/https/cleanarc.pfx -p Strong@Password

Type this command into your terminal and run it.

dotnet dev-certs https --trust

Type this command into your terminal and run it.

βœ… After dotnet run, check the message or address shown in the terminal.

Pulled directly from this repo's README.

// repository documentation