Next.js Book Inventory

An example of searching, filtering, and pagination.
boilerplate.detail.metadata.lastUpdated
il y a 2 mois
boilerplate.detail.metadata.author
Renaudboilerplate.detail.metadata.price
boilerplate.detail.metadata.free
Documentación
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;