Skip to content

BrosSquad/FastEndpoints.Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fdc045c · May 15, 2024

History

54 Commits
Jun 11, 2023
Aug 31, 2022
May 14, 2024
Jun 11, 2023
Jun 20, 2022
Jun 20, 2022
Jun 11, 2023
Jun 20, 2022
Jun 20, 2022
Aug 3, 2022

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.