Skip to content
New Project
Templates
Template name
Templates

Next.js Book Inventory

An example of searching, filtering, and pagination.

DeployView Demo
Owner
  • vercel-labs
Repository
  • book-inventory
Use Cases
  • Starter
Stack
  • Next.js
  • Tailwind
  • Radix UI
Database
  • Postgres
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

Related Templates

  • Vercel Shop thumbnail

    Vercel Shop

    Production-ready Shopify storefront on Next.js

  • Your Next Store — Commerce with Next.js and Stripe 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.

  • Next.js Boilerplate thumbnail

    Next.js Boilerplate

    Get started with Next.js and React in seconds.