Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomiban/clean-architecture
https://github.com/tomiban/clean-architecture
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomiban/clean-architecture
- Owner: tomiban
- Created: 2024-05-27T17:46:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-27T18:47:16.000Z (6 months ago)
- Last Synced: 2024-05-28T03:56:21.256Z (6 months ago)
- Language: C#
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# CleanArchitecture
The project was generated using the [Clean.Architecture.Solution.Template](https://github.com/jasontaylordev/CleanArchitecture) version 8.0.5.
## Build
Run `dotnet build -tl` to build the solution.
## Run
To run the web application:
```bash
cd .\src\Web\
dotnet watch run
```Navigate to https://localhost:5001. The application will automatically reload if you change any of the source files.
## Code Styles & Formatting
The template includes [EditorConfig](https://editorconfig.org/) support to help maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The **.editorconfig** file defines the coding styles applicable to this solution.
## Code Scaffolding
The template includes support to scaffold new commands and queries.
Start in the `.\src\Application\` folder.
Create a new command:
```
dotnet new ca-usecase --name CreateTodoList --feature-name TodoLists --usecase-type command --return-type int
```Create a new query:
```
dotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm
```If you encounter the error *"No templates or subcommands found matching: 'ca-usecase'."*, install the template and try again:
```bash
dotnet new install Clean.Architecture.Solution.Template::8.0.5
```## Test
The solution contains unit, integration, and functional tests.
To run the tests:
```bash
dotnet test
```## Help
To learn more about the template go to the [project website](https://github.com/jasontaylordev/CleanArchitecture). Here you can find additional guidance, request new features, report a bug, and discuss the template with other users.