Skip to content

vercel-labs/book-inventory

Repository files navigation

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

Deploy with Vercel