Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolução Desafio C# - Lucyano Campos Martins #19

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lucyanocm
Copy link

Abordagem utilizada

  • ASP.Net Core WebApi;
  • .NET Core 6 (6.0.417 - download);
  • Entity Framework Core;
  • SQL Server 15.0.2104.1 ou superior (download);
    • Script para criação do bancod e dados: src/CityBookDB_Initial.sql;
    • Script para inserção de dados de teste: src/CityBookDB_SeedData.sql;
      ou
    • Migration via Visual Studio: update-database -p DTech.CityBookStore.Data -context DTech.CityBookStore.Data.Context.CityBookStoreContext
  • Console Postman para teste API - download:
    • Collection: postman/CityBookStore API.postman_collection.json;
    • Environment: postman/CityBookStore API - Environment.postman_environment.json;
  • Autenticação
    • Usuario: admin@dorotech.com.br;
    • Senha: DoroTech@2023;
    • Rota para autenticação: POST - /auth/login;

Restauração

  • dotnet restore DTech.CityBookStore.sln;

Build

  • dotnet build DTech.CityBookStore.sln;

Execução

  • Testes unistário: dotnet test src/DTech.CityBookStore.UnitTests/DTech.CityBookStore.UnitTests.csproj;
    image

  • API: dotnet run --project .\src\DTech.CityBookStore.Api\DTech.CityBookStore.Api.csproj

Swagger

image

Curriculo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant