{"repo":"stphnwlsh/CleanMinimalApi","free":true,"listed":false,"github":"https://github.com/stphnwlsh/CleanMinimalApi","clone":"git clone https://github.com/stphnwlsh/CleanMinimalApi.git","description":"A template for an API using Clean Architecture and .NET Minimal API's.","language":"C#","stars":391,"topics":["clean-architecture","dotnet","docker","minimalapi","minimal","api","template","clean","minimal-api","csharp"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Clean Minimal API This is a template API using a streamlined version of Clean Architecture alongside .NET's Minimal APIs. Prerequisites This solution in built on the .NET 10 SDK, you need to install that before it will work for you. If you want to build the Dockerfile you will need to install Docker as well. Installation This is a template and you can install it using the dotnet new cli. To install the lastest version of the template run the following command. To create a new solution using this template run the following command Docker There's a dockerfile included in the build folder and serves the purpose of restoring, building, testing, publishing and then creating a runtime image of the API. Works on my machine.....you can add a version prefix and suffix to version the service in the assembly. The Dockerfile does have stages so you can just run the tests or publish the solution depending on your needs. Review the build-pipeline.yml in the github folder for more detailed usage. The Github Action does publish an image of this API and you check it out for yourself by runnning this command in docker. Architecture This solution is loosely based on Clean Architecture patterns, it's by no means perfect. I prefer to call it \"Lean Mean Clean Architecture\". Inspiration has been taken from Jason Taylor's Clean Architecture Template, but I have made some structural decisions to take some things further and scaled back others. There's a little CQRS type stuff going on here but it's m","default_branch":null,"files":null,"tree":[],"storefront":"/r/stphnwlsh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stphnwlsh/CleanMinimalApi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}