Search existing books

This commit is contained in:
2025-10-14 00:29:53 +02:00
parent f72318b5bc
commit bb0ede6abd
13 changed files with 156 additions and 3 deletions

View File

@@ -28,6 +28,10 @@ export function getMyBooks() {
return useFetch(baseUrl + '/mybooks');
}
export function getSearchBooks(searchterm) {
return useFetch(baseUrl + '/search/' + searchterm);
}
export function postBook(book) {
return genericPostCall('/book', book.value)
}