Virtual+Physical Personal Library
Hardware- 3 Devlogs
- 3 Total hours
I'm building a device that can scan the ISBN codes of books to add them to a personal library.
I'm building a device that can scan the ISBN codes of books to add them to a personal library.
I added a new feature to the website – the user can now edit books. Edits are automatically saved to the backend database.
Using React + Vite, I coded a small website that displays the information of any books I add to the database, sorted by status (“Currently Reading”, “Want to Read”, or “Finished”). In the future the barcode reader I make will be able to scan the ISBN codes and upload them to the FastAPI I made that adds the info of the book in question to the database. For now, I’m simulating that process using curl POST requests. My next thing to do for the website is revamp the CSS a bit and allow the user to make notes on a book to be saved to the database.
To start this project, I made a simple API with FastAPI + Python. I can POST an ISBN code (the identification code, usually paired with a barcode, on the back of all books) to the API. In turn, the API uses the openlibrary.org database to get data on the book (title, author, etc.) and save it to a sqlite database.