{"id":27063620,"url":"https://github.com/JasonGT/CleanArchitecture","last_synced_at":"2025-04-05T16:01:50.998Z","repository":{"id":37271993,"uuid":"213460285","full_name":"jasontaylordev/CleanArchitecture","owner":"jasontaylordev","description":"Clean Architecture Solution Template for ASP.NET Core","archived":false,"fork":false,"pushed_at":"2024-04-30T23:06:11.000Z","size":3704,"stargazers_count":15654,"open_issues_count":40,"forks_count":3354,"subscribers_count":382,"default_branch":"main","last_synced_at":"2024-05-02T01:10:02.903Z","etag":null,"topics":["angular","aspnetcore","clean-architecture","entity-framework-core","react","template","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasontaylordev.png","metadata":{"files":{"readme":"README-template.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"JasonTaylorDev"}},"created_at":"2019-10-07T18:44:32.000Z","updated_at":"2024-05-20T11:02:15.939Z","dependencies_parsed_at":"2023-11-15T10:28:51.099Z","dependency_job_id":"823d923b-57e8-4eb5-b557-dd48afa3beae","html_url":"https://github.com/jasontaylordev/CleanArchitecture","commit_stats":{"total_commits":362,"total_committers":68,"mean_commits":5.323529411764706,"dds":0.6436464088397791,"last_synced_commit":"f19bd21075a94d0c47b3b212734aba26db9abde7"},"previous_names":["jasongt/cleanarchitecture"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasontaylordev%2FCleanArchitecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasontaylordev%2FCleanArchitecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasontaylordev%2FCleanArchitecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasontaylordev%2FCleanArchitecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasontaylordev","download_url":"https://codeload.github.com/jasontaylordev/CleanArchitecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361593,"owners_count":20926641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","aspnetcore","clean-architecture","entity-framework-core","react","template","webapi"],"created_at":"2025-04-05T16:01:37.987Z","updated_at":"2025-04-05T16:01:50.990Z","avatar_url":"https://github.com/jasontaylordev.png","language":"C#","readme":"﻿# CleanArchitecture\r\n\r\nThe project was generated using the [Clean.Architecture.Solution.Template](caRepositoryUrl) version caPackageVersion.\r\n\r\n## Build\r\n\r\nRun `dotnet build -tl` to build the solution.\r\n\r\n## Run\r\n\r\nTo run the web application:\r\n\r\n```bash\r\ncd .\\src\\Web\\\r\ndotnet watch run\r\n```\r\n\r\nNavigate to https://localhost:5001. The application will automatically reload if you change any of the source files.\r\n\r\n## Code Styles \u0026 Formatting\r\n\r\nThe 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.\r\n\r\n## Code Scaffolding\r\n\r\nThe template includes support to scaffold new commands and queries.\r\n\r\nStart in the `.\\src\\Application\\` folder.\r\n\r\nCreate a new command:\r\n\r\n```\r\ndotnet new ca-usecase --name CreateTodoList --feature-name TodoLists --usecase-type command --return-type int\r\n```\r\n\r\nCreate a new query:\r\n\r\n```\r\ndotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm\r\n```\r\n\r\nIf you encounter the error *\"No templates or subcommands found matching: 'ca-usecase'.\"*, install the template and try again:\r\n\r\n```bash\r\ndotnet new install Clean.Architecture.Solution.Template::caPackageVersion\r\n```\r\n\r\n## Test\r\n\r\n\u003c!--#if (UseApiOnly) --\u003e\r\nThe solution contains unit, integration, and functional tests.\r\n\r\nTo run the tests:\r\n```bash\r\ndotnet test\r\n```\r\n\u003c!--#else --\u003e\r\nThe solution contains unit, integration, functional, and acceptance tests.\r\n\r\nTo run the unit, integration, and functional tests (excluding acceptance tests):\r\n```bash\r\ndotnet test --filter \"FullyQualifiedName!~AcceptanceTests\"\r\n```\r\n\r\nTo run the acceptance tests, first start the application:\r\n\r\n```bash\r\ncd .\\src\\Web\\\r\ndotnet run\r\n```\r\n\r\nThen, in a new console, run the tests:\r\n```bash\r\ncd .\\src\\Web\\\r\ndotnet test\r\n```\r\n\u003c!--#endif --\u003e\r\n\r\n## Help\r\nTo learn more about the template go to the [project website](caRepositoryUrl). Here you can find additional guidance, request new features, report a bug, and discuss the template with other users.","funding_links":["https://github.com/sponsors/JasonTaylorDev"],"categories":["框架, 库和工具","Frameworks, Libraries and Tools"],"sub_categories":["应用程序模板","Application Templates"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasonGT%2FCleanArchitecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJasonGT%2FCleanArchitecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasonGT%2FCleanArchitecture/lists"}