Skip to content

Desafio Dev N12 - <Gustavo Molina>#7

Open
gustavomolina wants to merge 29 commits intoaccurate-software:mainfrom
gustavomolina:main
Open

Desafio Dev N12 - <Gustavo Molina>#7
gustavomolina wants to merge 29 commits intoaccurate-software:mainfrom
gustavomolina:main

Conversation

@gustavomolina
Copy link

Ferramentas utilizadas no Back-End:

  • .NET Core
  • Entity Framework Core
  • SQL Server
  • XUnit
  • OData

Ferramentas utilizadas no Front-End:

  • Angular
  • Jasmine

Padrões de projeto e boas práticas:
Foi implementado o padrão arquitetural MVC seguindo as boas práticas de SOLID. Além disso, foi implementado também o pattern "Unit of Work" para a persistência de dados.

Dificuldades encontradas:
Na tentativa de fazer testes unitários, uma dificuldade foi encontrar a melhor maneira de fazê-los por meio do XUnit. Outra dificuldade foi deixar a pré-instalação do projeto o mais intuitiva possível. Para isso, criei também um script em SQL para construir todas as estruturas no banco de dados.

O que seria possível melhorar:
Seria possível implementar uma cobertura maior de testes unitários e ampliar as funcionalidades no front-end para o usuário poder gerar também relatórios, assim como é feito via requisições HTTP.

ECDESENVOLVIMENTO02 and others added 29 commits December 6, 2020 23:55
-Controllers:
-Added LoginController;
-Auth validation
-Added LostOrFoundController
-GetAllObjects: Get data filtered by OData queries
-AddObject: Save AddFoundOrLostViewModel data in the SQL server via business layer
-UpdateObject: Receive a UpdateLostOrFoundViewModel data to update data via business layer
-Business Layer:
-LostOrFoundBusiness
-IEnumerable<FoundOrLostViewModel> GetAllLostOrFoundObjects: Calls a vw_GetAllLostOrFoundObjects view list
-AddLostOrFoundObject: Calls the sp_AddFoundOrLost stored procedure
-UpdateLostOrFoundObject: Calls the sp_UpdateFoundOrLost stored procedure
-Remove ifound-api repository reference
-Added ifound-api repository reference
-It had some updates on the demonstration part of the document
-Created project 'ifound-unittests' in the same solution with ASP.NET Core MVC and XUnit

(fix) SetUpDB.sql
-Updated by adding the creation scripts for the stored procedures to update and add an object to the database
…hub.io into main

Merge in the README.md file
-Created simple project in Angular to ilustrate the project functionality

(fix) README.md
-Added more descriptions about the application in Front-End
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