https://github.com/jeffreyssharp/master.rotas
CRUD - REST com ASP.NET Core 8 WebAPI
https://github.com/jeffreyssharp/master.rotas
automapper clean-code csharp12 dependency-injection dependencyinjection entity-framework-core fluentvalidation identity jwt netcore8 solid sqlserver swagger
Last synced: about 2 months ago
JSON representation
CRUD - REST com ASP.NET Core 8 WebAPI
- Host: GitHub
- URL: https://github.com/jeffreyssharp/master.rotas
- Owner: jeffreysSharp
- License: mit
- Created: 2025-01-16T16:11:49.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-29T14:18:00.000Z (4 months ago)
- Last Synced: 2025-01-29T15:26:20.350Z (4 months ago)
- Topics: automapper, clean-code, csharp12, dependency-injection, dependencyinjection, entity-framework-core, fluentvalidation, identity, jwt, netcore8, solid, sqlserver, swagger
- Language: C#
- Homepage: https://www.linkedin.com/in/jefersonalmeidadotnetdeveloper
- Size: 519 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRUD - REST com ASP.NET Core 8 WebAPI

# Instalação
- 1) Clone o projeto:
https://github.com/jeffreysSharp/master.rotas.git
- 2) Altere a string de conexão no arquivo appsettings.Development.json no projeto Master.Rotas.API
- 3) Abrir o Package Manager Console > Selecione o Projeto Master.Rotas.Data > Rode o comando Update-Database
- 4) Selecione o Projeto Master.Rotas.API > Rode o comando update-database -Context ApplicationDbContext
- 5) Set Startup Project Master.Rotas.API
- 6) F5
- 7) Na tela do swagger crie uma nova conta
- 8) No SQL abra a tabela AspNetUsers e copie o Id do usuário
- 9) Na Tabela AspNetUserClaims Inserir um UserId, ClaimType = Rota, ClaimValue = Adicionar, Atualizar, Excluir
- 10) No swagger faça o login e copie o JWT gerado# REST com ASP.NET Core WebAPI
- .NET Core 8
- C# 12.0
- EntityFrameworkCore
- Swagger
- AutoMapper
- DependencyInjection
- FluentValidation
- Identity
- JWT# Ferramentas
- Visual Studio 2022
- SQL Server# Features
- [x] CRUD - Rotas
- [x] Autenticação
- [x] Autorização