Please sign in to access this page

Book Tracker API

Book Tracker API Used AI

4 devlogs
8h 4m
•  Ship certified
Created by Shaunak Bajaj

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.

Timeline

Ship 1

1 payout of shell 116.0 shells

Shaunak Bajaj

over 1 year ago

Shaunak Bajaj • Covers 4 devlogs and 8h 4m

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.

Update attachment

Tested and fixed all the endpoints. Also validated the JWT authentication, which prevents users from accessing and modifying each other's data.

Update attachment

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.

Update attachment

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.

Update attachment