- TypeScript 94%
- CSS 6%
Waku Books #
Waku Books is built from a Goodreads dataset of over 2,000,000 books. The live catalog includes books with usable cover images and uses Waku, Drizzle, and PostgreSQL.
Rebuild of vercel-labs/book-inventory, now archived, ported to Waku 1.0. Full dataset here.
Run locally #
pnpm install
pnpm dev
POSTGRES_URL is optional. Without it the app serves a small preview catalog.
pnpm exec tsc --noEmit
pnpm build
Testing #
Playwright covers catalog search, filters, pagination, and book pages.
pnpm test:e2e
Database #
The original dataset contains more than two million Goodreads books. The schema uses PostgreSQL's unaccent extension for accent-insensitive title search:
CREATE EXTENSION IF NOT EXISTS unaccent;
The source dataset is available from the UCSD Book Graph project.
Set POSTGRES_URL, then create the schema and load the bundled four-book sample:
pnpm db:setup
Optionally generate the cover-image placeholders after seeding:
pnpm db:seed-thumbhash