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

api(search): implementação do sistema de busca por matéria #82

Merged
merged 19 commits into from
Nov 17, 2023

Conversation

caio-felipee
Copy link
Collaborator

@caio-felipee caio-felipee commented Nov 14, 2023

Issue:
close #62

O que foi feito?

  • Criado testes para a API de busca por disciplinas
  • Adicionado o plugin unaccent no PostgreSQL para facilitar na pesquisa com irrelevância na acentuação
  • Criado o arquivo serializers.py para adicionar os serializers necessários para a Response da API
  • Alterado o arquivo urls.py para adição da nova rota da api /courses
  • Criada a API que utiliza os parâmetros search, year e period
  • Criada funções de filtragem no banco de dados

@caio-felipee caio-felipee added tests needed Need to add tests for this feature or bug API related to API communication labels Nov 14, 2023
@caio-felipee caio-felipee added this to the Sprint 8 milestone Nov 14, 2023
@caio-felipee caio-felipee self-assigned this Nov 14, 2023
@caio-felipee caio-felipee changed the title api(search): api(search): implementação do sistema de busca por matéria Nov 14, 2023
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ff58e1) 97.51% compared to head (ceb2ff9) 98.21%.
Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   97.51%   98.21%   +0.70%     
==========================================
  Files          25       31       +6     
  Lines         644      897     +253     
==========================================
+ Hits          628      881     +253     
  Misses         16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caio-felipee caio-felipee added the back-end related to back-end development label Nov 14, 2023
@caio-felipee caio-felipee modified the milestones: Sprint 8, Sprint 9 Nov 14, 2023
@caio-felipee caio-felipee added the task Tasks related to code or requirements of the project label Nov 15, 2023
@caio-felipee caio-felipee marked this pull request as ready for review November 16, 2023 01:17
api/api/views.py Show resolved Hide resolved
api/api/views.py Outdated Show resolved Hide resolved
api/api/serializers.py Outdated Show resolved Hide resolved
api/api/tests.py Outdated Show resolved Hide resolved
@caio-felipee caio-felipee removed the request for review from GabrielCastelo-31 November 17, 2023 22:41
@caio-felipee caio-felipee merged commit f03986b into main Nov 17, 2023
3 checks passed
@caio-felipee caio-felipee deleted the task/search-api branch November 17, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API related to API communication back-end related to back-end development task Tasks related to code or requirements of the project tests needed Need to add tests for this feature or bug
Projects
Status: ✅ Feito
Development

Successfully merging this pull request may close these issues.

task(Search discipline): Implementar a pesquisa de disciplinas por termo de busca
4 participants