{"id":22929929,"url":"https://github.com/genocs/genocs-library-template","last_synced_at":"2025-08-12T14:32:51.235Z","repository":{"id":181057390,"uuid":"665725578","full_name":"Genocs/genocs-library-template","owner":"Genocs","description":"The Genocs Library template built on top of Genocs Library","archived":false,"fork":false,"pushed_at":"2024-11-30T10:52:46.000Z","size":2569,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-30T11:04:39.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://genocs-blog.netlify.app/library/","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/Genocs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":{"open_collective":"genocs","custom":["https://www.buymeacoffee.com/genocs"]}},"created_at":"2023-07-12T21:23:57.000Z","updated_at":"2024-11-30T10:52:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a72dbdbf-b468-4555-8ca4-3c1d49cbc90b","html_url":"https://github.com/Genocs/genocs-library-template","commit_stats":null,"previous_names":["genocs/genocs-webapi-template","genocs/genocs-library-template"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Fgenocs-library-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Fgenocs-library-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Fgenocs-library-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Fgenocs-library-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Genocs","download_url":"https://codeload.github.com/Genocs/genocs-library-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229690636,"owners_count":18108261,"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":[],"created_at":"2024-12-14T10:19:44.402Z","updated_at":"2025-08-12T14:32:51.195Z","avatar_url":"https://github.com/Genocs.png","language":"C#","funding_links":["https://opencollective.com/genocs","https://www.buymeacoffee.com/genocs","https://www.buymeacoffee.com/genocs)!"],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT SHIELDS --\u003e\n[![License][license-shield]][license-url]\n[![Build][build-shield]][build-url]\n[![Packages][package-shield]][package-url]\n[![Downloads][downloads-shield]][downloads-url]\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![Discord][discord-shield]][discord-url]\n[![Gitter][gitter-shield]][gitter-url]\n[![Twitter][twitter-shield]][twitter-url]\n[![Twitterx][twitterx-shield]][twitterx-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n[license-shield]: https://img.shields.io/github/license/Genocs/genocs-library-template?color=2da44e\u0026style=flat-square\n[license-url]: https://github.com/Genocs/genocs-library-template/blob/main/LICENSE\n[build-shield]: https://github.com/Genocs/genocs-library-template/actions/workflows/build_and_test.yml/badge.svg?branch=main\n[build-url]: https://github.com/Genocs/genocs-library-template/actions/workflows/build_and_test.yml\n[package-shield]: https://img.shields.io/badge/nuget-v.1.5.1-blue?\u0026label=latests\u0026logo=nuget\n[package-url]: https://github.com/Genocs/genocs-library-template/actions/workflows/build_and_test.yml\n[downloads-shield]: https://img.shields.io/nuget/dt/Genocs.Library.Template.svg?color=2da44e\u0026label=downloads\u0026logo=nuget\n[downloads-url]: https://www.nuget.org/packages/Genocs.Library.Template\n[contributors-shield]: https://img.shields.io/github/contributors/Genocs/genocs-library-template.svg?style=flat-square\n[contributors-url]: https://github.com/Genocs/genocs-library-template/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/Genocs/genocs-library-template?style=flat-square\n[forks-url]: https://github.com/Genocs/genocs-library-template/network/members\n[stars-shield]: https://img.shields.io/github/stars/Genocs/genocs-library-template.svg?style=flat-square\n[stars-url]: https://img.shields.io/github/stars/Genocs/genocs-library-template?style=flat-square\n[issues-shield]: https://img.shields.io/github/issues/Genocs/genocs-library-template?style=flat-square\n[issues-url]: https://github.com/Genocs/genocs-library-template/issues\n[discord-shield]: https://img.shields.io/discord/1106846706512953385?color=%237289da\u0026label=Discord\u0026logo=discord\u0026logoColor=%237289da\u0026style=flat-square\n[discord-url]: https://discord.com/invite/fWwArnkV\n[gitter-shield]: https://img.shields.io/badge/chat-on%20gitter-blue.svg\n[gitter-url]: https://gitter.im/genocs/\n[twitter-shield]: https://img.shields.io/twitter/follow/genocs?color=1DA1F2\u0026label=Twitter\u0026logo=Twitter\u0026style=flat-square\n[twitter-url]: https://twitter.com/genocs\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://www.linkedin.com/in/giovanni-emanuele-nocco-b31a5169/\n[twitterx-shield]: https://img.shields.io/twitter/url/https/twitter.com/genocs.svg?style=social\n[twitterx-url]: https://twitter.com/genocs\n\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./assets/genocs-library-logo.png\" alt=\"icon\"\u003e\n\u003c/p\u003e\n\n# Genocs Library Template \nBuilt to incorporates the most essential packages your projects will ever need. Follows Clean Architecture Principles.\n\n## Goals\n\nThe goal of this repository is to help developers/companies kickstart their Web Application Development with a pre-built Web Api Template based on Genocs Library nuget Packages. It includes several much needed components and features.\n\n\u003e Note that this is a backend application only! The frontend for this application is available in a seperate repository. \n\u003e - Find Genocs's .NET Web API template here - [genocs-library-template](https://github.com/Genocs/genocs-library-template)\n\n## Prerequisites\n- [.NET 9.x](https://dotnet.microsoft.com/download/dotnet/9.0)\n- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/preview/vs2022/)(optional)\n- [Visual Studio Code](https://code.visualstudio.com/download)(optional)\n- [Rider](https://www.jetbrains.com/rider/)(optional)\n\n\n## Getting Started\n\nOpen up your *Command Prompt* or *PowerShell* or \"bash\" and run the following command.\n\n``` bash\n# To clone the repository\ngit clone https://github.com/Genocs/genocs-library-template\n\n# To build the nuget package\nnuget pack ./src/Package.Template.nuspec -NoDefaultExcludes -OutputDirectory ./out -Version 1.5.1\n\n# To install the template\ndotnet new install ./out/Genocs.Library.Template.1.5.1.nupkg\n\n# To \ndotnet new gnx-librawebapi --help\ndotnet new gnx-librawebapi --name {MyCompany.MyProject}\n\n\n```\n\n\n``` bash\n# To install the template from nuget\ndotnet new install Genocs.Library.Template\n\n# To install a specific version of the template\n\ndotnet new install Genocs.Library.Template::1.5.1\n```\n\nThis would install the `Genocs Library Web Api Template` globally on your machine. Do note that, at the time of writing this documentation, the latest available version is **1.5.1** which is also one of the first stable release version of the package. It is highly likely that there is already a newer version available when you are reading this.\n\n\n\u003e *To get the latest version of the package, visit [nuget.org](https://www.nuget.org/packages/Genocs.Library.Template/)*\n\u003e\n\nFor more details on getting started, [read the documentation](https://genocs-blog.netlify.app/library/)\n\nPlease check the [documentation](https://learn.microsoft.com/en-us/visualstudio/ide/how-to-locate-and-organize-project-and-item-templates?view=vs-2022) for more details. \n\n\n## How to create a project\n\nCreate, build, test and run:\n\n``` bash\ndotnet new i Genocs.Library.Template\ndotnet new gnx-librawebapi -n {CompanyName.ProjectName.ServiceName}\ncd {CompanyName.ProjectName.ServiceName}\ndotnet build ./src/{CompanyName.ProjectName.ServiceName}.WebApi\ndotnet build ./src/{CompanyName.ProjectName.ServiceName}.Worker\n\ndotnet test\ndotnet run ./src/{CompanyName.ProjectName.ServiceName}.WebApi\n```\n\n\n## How to build the package\n\nTo build the package run the following commands:\n\n[Official Link](https://docs.microsoft.com/en-us/dotnet/core/tools/custom-templates)\n\n\n``` bash\ncd ./src\nnuget pack\ndotnet new u Genocs.Library.Template\n\ndotnet new install ./out/Genocs.Library.Template.1.5.1.nupkg\n\ndotnet new gnx-librawebapi --help\ndotnet new gnx-librawebapi --name {MyCompany.MyProject}\n```\n\n\n## Sample application\n\nRun `dotnet new -i Genocs.Library.Template` then try the following commands.\n\n\n``` bash\ndotnet new gnx-librawebapi\n```\n\n\n## Miscellaneous\n\nUseful commands:\n\n``` bash\n# How to get the list of installed templates\ndotnet new -u\n\ndotnet --list\n```\n## License\n\nThis project is licensed with the [MIT license](LICENSE).\n\n## Changelogs\n\nView Complete [Changelogs](https://github.com/Genocs/genocs-library-template/blob/main/CHANGELOG.md).\n\n## Community\n\n- Discord [@genocs](https://discord.com/invite/fWwArnkV)\n- Facebook Page [@genocs](https://facebook.com/Genocs)\n- Youtube Channel [@genocs](https://youtube.com/c/genocs)\n\n\n## Support\n\nHas this Project helped you learn something New? or Helped you at work?\n\nHere are a few ways by which you can support.\n\n- ⭐ Leave a star!\n- 🥇 Recommend this project to your colleagues.\n- 🦸 Do consider endorsing me on LinkedIn for ASP.NET Core - [Connect via LinkedIn](https://www.linkedin.com/in/giovanni-emanuele-nocco-b31a5169/)\n- ☕ If you want to support this project in the long run, consider [buying me a coffee](https://www.buymeacoffee.com/genocs)!\n\n\n[![buy-me-a-coffee](./assets/buy-me-a-coffee.png \"buy me a coffee\")](https://www.buymeacoffee.com/genocs)\n\n## Code Contributors\n\nThis project exists thanks to all the people who contribute. [Submit your PR and join the team!](CONTRIBUTING.md)\n\n[![genocs contributors](https://contrib.rocks/image?repo=Genocs/genocs-library-template \"genocs contributors\")](https://github.com/Genocs/genocs-library-template/graphs/contributors)\n\n## Financial Contributors\n\nBecome a financial contributor and help me sustain the project.\n\n**Support the Project** on [Opencollective](https://opencollective.com/genocs)\n\n\u003ca href=\"https://opencollective.com/genocs\"\u003e\u003cimg src=\"https://opencollective.com/genocs/individuals.svg?width=890\"\u003e\u003c/a\u003e\n\n\n## Acknowledgements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenocs%2Fgenocs-library-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenocs%2Fgenocs-library-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenocs%2Fgenocs-library-template/lists"}