Go to file
Erik Foris c0de764f15 Refactor DatasetController and DatasetService, improve search query and add optional criteria
This commit refactors the `DatasetController` and `DatasetService` classes. It updates the request mappings in the `DatasetController` class to `/api/v1/datasets` and adds new methods for upvoting and downvoting datasets. In the `DatasetService` class, it adds the `upvoteDataset` and `downvoteDataset` methods to handle dataset upvoting and downvoting. Additionally, it improves the search query in the `getDatasetsByDateAfter` method by adding optional criteria for title, description, author, abstract, type, and minimum rating. This refactoring enhances code organization, functionality, and search capabilities.
2024-06-18 15:09:07 +02:00
.mvn/wrapper chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00
src Refactor DatasetController and DatasetService, improve search query and add optional criteria 2024-06-18 15:09:07 +02:00
.gitignore chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00
mvnw chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00
mvnw.cmd chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00
pom.xml chore: Add hsqldb runtime dependency to pom.xml 2024-06-11 13:39:00 +02:00
README.md Create emty readme 2024-06-04 09:45:34 +02:00