Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,43 @@ This is a dotnet solution template from projects based on hexagonal architecture
To install the project template you have to use the following command

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

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

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

To create only the BFF template you can use the following command

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

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

```bash
dotnet new hexagonal-solution -h
dotnet new hexagonal-solution-full -h
```

or

```bash
dotnet new hexagonal-solution-bff -h
```

If you want to update the template to the latest version just execute the following command

```bash
dotnet new update GPreviatti.Template.Hexagonal.Solution
```

If you want to uninstall the template just execute the following command :(

```bash
dotnet new uninstall Hexagonal.Solution.Template
dotnet new uninstall GPreviatti.Template.Hexagonal.Solution
```

## Official solution template documentation
Expand Down
2 changes: 1 addition & 1 deletion templates/Bff/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"identity": "Hexagonal.Solution.Template.Bff",
"name": "Hexagonal solution template Bff",
"description": "Solution template following hexagonal architecture structure best practices for backend for frontend (BFF) applications",
"shortName": "bff",
"shortName": "hexagonal-solution-bff",
"sourceName": "Hexagonal.Solution.Template.Bff",
"classifications": [
"common",
Expand Down
2 changes: 1 addition & 1 deletion templates/Full/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"identity": "Hexagonal.Solution.Template.Full",
"name": "Hexagonal solution template Full",
"description": "Solution template following hexagonal architecture structure best practices",
"shortName": "full",
"shortName": "hexagonal-solution-full",
"sourceName": "Hexagonal.Solution.Template.Full",
"classifications": [
"common",
Expand Down
Loading