Book Review API
A RESTful API for managing books, user reviews, and authentication, with S3 file uploads and Redis caching.
- Started
- 2025
- Stack
- Node.js, Express, MongoDB, Mongoose, Redis, AWS S3, JWT, JavaScript
- Kind
- Experiment
- Source
- Public
Why I built it
Book catalogs with user reviews need a backend that handles authentication, search, media uploads, and fast reads without re-querying the database every time.
What it does
- Book, review, and user management over a REST API with JWT-based authentication
- Book search with pagination on MongoDB queries
- Image and PDF uploads to AWS S3 (PDFs for the first pages with author and publication details), with pre-signed URLs
- Redis caching, plus rate limiting, input sanitization, and secure HTTP headers
How it is built
Built with Node.js and Express, MongoDB via Mongoose, Redis (ioredis) for caching, and AWS S3 for file storage, with sharp and pdf-lib compressing uploads.
How it evolved
- 2025Scoped
Book catalogs with user reviews need a backend that handles authentication, search, media uploads, and fast reads without re-querying the database every time.
- 2025Built
Built with Node.js and Express, MongoDB via Mongoose, Redis (ioredis) for caching, and AWS S3 for file storage, with sharp and pdf-lib compressing uploads.
- 2025Shipped
Shipped; since retired.
Built by Syed Tasavour. More at syedtasavour.com.