Skip to content

BrosSquad/FastEndpoints.Template

Repository files navigation

FastEndpoints logo

Minimal Fast Endpoints template with Integration Testing

Nuget downloads license  

Installation

Install .NET template

  dotnet new --install FastEndpoints.Template

Usage/Examples

  dotnet new fastendpoints --name Example

Options

FastEndpoints API (C#)
Author: Stefan Bogdanović
Options:
  -auth|--cookie-auth  Adds Cookie Authentication.
                       bool - Optional
                       Default: false

  -log|--serilog       Adds Serilog.
                       bool - Optional
                       Default: false

  -U|--UseDocker       Adds Docker support.
                       bool - Optional
                       Default: true

  -t|--tests           Adds an integration test project.
                       bool - Optional
                       Default: true

Folder structure

  src/
  ├─ API/
  tests/
  ├─ API.Integration.Tests/

Packages

API project consists of these packages:

  • FastEndpoints
  • FastEndpoints.Generator (Source generation)
  • FastEndpoints.Swagger

API.Integration.Tests project consists of these packages:

  • xUnit
  • FluentAssertions
  • Microsoft.AspNetCore.Mvc.Testing

Support

If you are having problems, please let us know by raising a new issue.

License

This project is licensed with the Apache License 2.0.

About

FastEndpoints Template for .NET 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published