Skip to content

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