Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuel-oldra/devgames.api
🎮 C# e .NET 6 (3ª ed.)
https://github.com/samuel-oldra/devgames.api
aspnet-core autofixture automapper clean-code csharp dependency-injection dotnet-core-webapi dotnet6 eager-loading entity-framework-core inmemory-db migrations moq repository-pattern serilog shouldly sqlite sqlserver swagger xunit
Last synced: 26 days ago
JSON representation
🎮 C# e .NET 6 (3ª ed.)
- Host: GitHub
- URL: https://github.com/samuel-oldra/devgames.api
- Owner: samuel-oldra
- License: mit
- Created: 2021-12-02T12:07:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T19:20:36.000Z (about 2 months ago)
- Last Synced: 2024-09-17T00:33:08.326Z (about 2 months ago)
- Topics: aspnet-core, autofixture, automapper, clean-code, csharp, dependency-injection, dotnet-core-webapi, dotnet6, eager-loading, entity-framework-core, inmemory-db, migrations, moq, repository-pattern, serilog, shouldly, sqlite, sqlserver, swagger, xunit
- Language: C#
- Homepage:
- Size: 7.48 MB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
DevGames - Jornada .NET Direto ao Ponto
Tecnologias e práticas utilizadas •
Funcionalidades •
ComandosFoi desenvolvida uma API REST completa de gerenciamento de boards, posts e comentários de uma plataforma como o Reddit.
## Tecnologias e práticas utilizadas
- ASP.NET Core com .NET 6
- Entity Framework Core
- SQL Server / SQLite / In-Memory database
- Swagger (documentação)
- AutoMapper (mapeamento)
- Serilog (log)
- xUnit, AutoFixture, Moq e Shouldly (teste unitário)
- Programação Orientada a Objetos
- Injeção de Dependência
- Padrão Repository
- Clean Code
- Publicação## Funcionalidades
- Cadastro, Listagem, Detalhes, Atualização de Board
- Cadastro, Listagem e Detalhes de um Post
- Cadastro de Comentários###
![alt text](https://raw.githubusercontent.com/samuel-oldra/DevGames.API/main/README_IMGS/swagger_ui.png)
## Comandos
### Comandos básicos
```
dotnet new gitignore
dotnet new webapi -o DevGames.APIdotnet build
dotnet run
dotnet watch rundotnet test
dotnet publish
```### Tool Entity Framework Core (migrations)
```
dotnet tool install --global dotnet-ef
dotnet tool uninstall --global dotnet-ef
```### Migrations
```
dotnet ef migrations add InitialMigration -o Persistence/Migrations
dotnet ef database update
```