/aspnet-core-api-crud

web api for supplier and product management

Primary LanguageC#MIT LicenseMIT

Web Api .Net Core 7 Rest

Ferramentas e Tecnologias

Rodar o projeto localmente

1- Abra o terminal e instale a cli do entity framework

dotnet tool install --global dotnet-ef

2- Clone o repositorio do projeto pra sua maquina e entre na pasta raiz

git clone https://github.com/Mateus-Castellar/api-aspnet-core.git
cd api-aspnet-core

3- Execute as migartions

dotnet ef database update -s ./src/AppCore.API -c ApiIdentityDbContext
dotnet ef database update -s ./src/AppCore.API -c AppCoreDbContext

4- Rode o projeto

dotnet run --project ./src/AppCore.API

5- Acesse a documentação da API (Swagger)

https://localhost:7196/swagger/index.html

Prints

screenshot

Pacotes do projeto

  • FluentValidation
  • EntityFrameworkCore
  • Swagger
  • AutoMapper