New Project

Next.js Book Inventory

An example of searching, filtering, and pagination.

DeployView Demo

Next.js Book Inventory

Demo: https://next-books-search.vercel.app

This is a book inventory app built with Next.js, Drizzle, and PostgreSQL. The database contains over 2,000,000 books from Goodreads. Full dataset here.

Database Setup

This is currently using a Postgres extension called unaccent to remove accents from the book titles. This also uses the pgvector extension to use Postgres as a vector store. To install these extensions, run the following command on your database:

CREATE EXTENSION IF NOT EXISTS unaccent;
CREATE EXTENSION IF NOT EXISTS vector;

Deploy on Vercel

GitHub Repovercel-labs/book-inventory
Use Cases
Starter
Stack
Next.js
Tailwind
Radix UI
Database
Postgres

Related Templates

Next.js Boilerplate

Get started with Next.js and React in seconds.
Next.js Boilerplate thumbnail

Next.js Commerce

Starter kit for high-performance commerce with Shopify.
Next.js Commerce thumbnail

Your Next Store — Commerce with Next.js and Stripe

Your Next Store is a modern, ultra-fast commerce storefront with Stripe as the backend, using shadcn UI components.
Your Next Store — Commerce with Next.js and Stripe thumbnail
DeployView Demo