Please sign in to access this page
Making an API for a book tracking app. Used FastAPI along with SQLite for the database. Also used SQLAlchemy and Pydantic for response structuring.
It helps to keep a track of the books you have finished, are currently reading and have not started. My motivation to build this was that I have a large library of books at home and always have a hard time remembering where I left a particular book when I didn't use a bookmark.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Created a repo and hosted the project on Render.
Added example values on the UI for better clarity.
Did a lot of testing with different cases.
Gave final touches to the repo and docs.
Tested and fixed all the endpoints. Also validated the JWT authentication, which prevents users from accessing and modifying each other's data.
Finished a basic structure of the code. Has multiple endpoints for authentication, adding books, logging pages and a stats page. Since fastAPI has Swagger UI built in, it generates a webpage to test the API.
Learned about FastAPI and how APIs work in general. Finalised the idea to make a book tracking API which helps to track the books you have read, the number of pages done/remaining and give you the overall stats. Also defined a basic user and books model.