shanks-t / librogram-server

Backend code for Librogram with Python and Django
1 stars 0 forks source link

Store google books in user library #9

Open shanks-t opened 2 years ago

shanks-t commented 2 years ago

Given book data is fetching create a put method in react to store google book data to data base in the books and userbooks tables. there will be a button under each book in the search list to 'add to library'

Aman96-star commented 2 months ago

Ensure your backend API is set up to handle the PUT request appropriately and that it saves the data to both the books and userbooks tables as needed. Adjust the request body in the addToLibrary function to match the expected structure in your backend.