Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gpreviatti/hexagonal-solution-template

This is a dotnet solution template from projects based on hexagonal architecture and best practices
https://github.com/gpreviatti/hexagonal-solution-template

architecture clean-architecture clean-code dotnet dotnet-8 github-actions hexagonal-architecture nuget template

Last synced: 18 days ago
JSON representation

This is a dotnet solution template from projects based on hexagonal architecture and best practices

Awesome Lists containing this project

README

        

# Hexagonal architecture solution template

[![Publish template in Nuget.org](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/publish.yml/badge.svg?branch=main)](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/publish.yml)
[![Validate pull request](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/validate.yml/badge.svg)](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/validate.yml)

This is a dotnet solution template from projects based on hexagonal architecture and best practices

## Used Technologies

- MediatR
- FluenValidation
- Serilog
- EntityFrameworkCore
- EntityFrameworkCore.SqlServer
- Xunit
- Moq
- Autofixture
- FluentAssertions
- docker and docker compose
- k6

## Advisors and recommendations

- When use the template i recommend you dot not remove Order example scenario until you have you own implementations

## How to use the template

To install the project template you have to use the following command

```
dotnet new install Hexagonal.Solution.Template
```

After that you can use it to create your project where -n is the name of your solution

```
dotnet new hexagonal-solution -n HexagonalSolution
```

If you had any doubts about the existing parameters you can also use -h to get more information

```
dotnet new hexagonal-solution -h
```

If you want to uninstall the template just execute the following command :(
```
dotnet new uninstall Hexagonal.Solution.Template
```

## Official solution template documentation

https://github.com/dotnet/templating/wiki