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

Added /api/search/software API endpoint to allow for searching of software in database #208

Merged

Conversation

JonathanLeeWH
Copy link
Contributor

  • Added /api/search/software API endpoint to allow for searching of software in database
  • Added test search software API endpoint search_software.rest file

This is to prepare for usage in frontend typeahead search bar

Note: This does not use mongodb build in text search due to lack of support for partial text search.

The current implementation involves using regexp.

Potential Alternatives to regexp implementation:

  • To use Mongodb Atlas Search: Link 1, Link 2 but it will mean require depending on a third party service.
  • To use elasticsearch: Link

…oftware in database

Added test search software API endpoint `search_software.rest` file

This is to prepare for usage in frontend typeahead search bar

Note: This does not use `mongodb` build in `text search` (https://docs.mongodb.com/manual/text-search/) due to lack of support for partial

Potential Alternative is to use `Mongodb Atlas Search` (https://www.mongodb.com/atlas/search and https://www.mongodb.com/blog/post/mongodb-atlas-search-now-ga) but it will mean require depending on a third party service.

Another alternative is to use `elasticsearch`
@JonathanLeeWH JonathanLeeWH added enhancement New feature or request status.done Done and ready for review and merge priority.high High priority API Related to API endpoints Testing Related to testing frontend integration Related to frontend integration labels Jul 27, 2021
@JonathanLeeWH JonathanLeeWH added this to the Version 1.0.0 milestone Jul 27, 2021
@JonathanLeeWH JonathanLeeWH self-assigned this Jul 27, 2021
@JonathanLeeWH JonathanLeeWH merged commit 0ac7ec2 into integrate-with-frontend-web-app Jul 27, 2021
@JonathanLeeWH JonathanLeeWH deleted the add-search-api-endpoint branch July 27, 2021 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Related to API endpoints enhancement New feature or request frontend integration Related to frontend integration priority.high High priority status.done Done and ready for review and merge Testing Related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant