Pomelo.Template.API
1.0.1
dotnet new install Pomelo.Template.API@1.0.1
This package contains a .NET Template Package you can call from the shell/command line.
Pomelo Template - API
A .NET API template using Vertical slice architecture / Screaming architecture, Swagger, FastEndpoints, MediatR, Docker, and following the RERP pattern.
How to Use
Install the template
- To install the template, run the following command:
dotnet new --install Pomelo.Template::{version} - This will install the template from NuGet.org.
Create a new project
- Create a new API project based on the template:
dotnet new pomelo-api -n YourApiName - You're ready to go!
Alternative Method
If you prefer, you can clone the repository and install the template manually:
- Clone the repository.
- Navigate to the
Pomelo.Template.APIfolder. - Run:
dotnet new install ./ - Create a new project:
dotnet new pomelo-api -n YourApiName - You're ready to go!
Features
- User registration and login with username and password
- EF extension for pagination
- Result Pattern
Notes:
- EF Core Configuration:
The template does not include EF Core configuration by default, as it is designed to be database-provider agnostic. You must install and configure EF Core inDatabaseExtension.csaccording to your specific database needs.
Available exclusively for .NET 8.0
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 598 | 12/28/2024 |