Skip to content

moisesduartem/dotnet-ef-restapi-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-ef-restapi-template

Usage

git clone https://github.com/moisesduartem/dotnet-ef-restapi-template restapi/

dotnet new --install restapi/ # install the template according to .template.config/template.json

dotnet new restapi -o MyApp # create a new restapi solution for MyApp

Technologies

Database

The relational database used to create this template was Microsoft SQL Server 2019

.NET Version

.NET 6.0.400

Packages

Features

These are the endpoints implemented in this API:

  • Sign in
  • Sign up
  • Forgot password
  • Reset password
  • Confirm email
  • Get logged user profile
  • Verify if the logged user is admin
  • Verify if the user is Authorized

Solution

The .NET solution is structured according to the picture below

Solution Structure

About

.NET 6 Web API template with EF Core 6, SQL Server, MediatR, AutoMapper, FluentValidation, MSTest, Serilog, Identity (JWT) and FluentEmail configured.

Topics

Resources

Stars

Watchers

Forks