Commit Graph

11 Commits

Author SHA1 Message Date
4a09da87d3 chore: Refactor DatasetController and DatasetService
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. This refactoring improves code organization and functionality.
2024-06-18 12:30:55 +02:00
10e339f32b feature: add minimal API 2024-06-17 18:13:25 +02:00
165397e86b chore: Add LoadDummyDatabase class for initializing dummy data 2024-06-17 16:01:36 +02:00
909a9021fe chore: Rename variable in Dataset class for consistency
The variable `Categories` in the `Dataset` class has been renamed to `categories` to follow the naming convention. This change improves code readability and consistency.
2024-06-17 15:32:05 +02:00
bad9855dce feat: Update dataRepository findByAuthor method name
The `findByAutor` method in the `dataRepository` interface has been renamed to `findByAuthor` to align with the naming convention. This change improves code readability and consistency.
2024-06-17 15:22:12 +02:00
b607b4a109 chore: Refactor dataset class and dataRepository interface
- Rename dataset.java to Dataset.java
- Update references to Dataset class
2024-06-17 15:17:37 +02:00
09f685eef8 chore: Rename type.java to Type.java and update references, add default constructor to dataset 2024-06-17 15:10:43 +02:00
14a9bbd56a feat: Add dataRepository interface and dataset class 2024-06-14 16:47:51 +02:00
b189a8f022 chore: Add dataset and type classes 2024-06-14 15:30:12 +02:00
9c24168252 chore: move templates into right location 2024-06-14 13:39:02 +02:00
50527966de chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00