itemdb is a database of information about Neopets items. It is built using Next.js, MySQL and Prisma.
https://itemdb.com.br ↗// readme
itemdb - Neopets Open-Source item database
itemdb is a database of information about Neopets items. It is built using Next.js, MySQL and Prisma
Running Locally
Prerequisites
- Docker (for the database)
- Node.js 22+
- Yarn
First-time setup
1. Clone the repo and install dependencies
git clone https://github.com/lucca180/itemdb.git
cd itemdb
yarn
npx prisma generate
2. Configure environment variables
cp .env.default .env.local
The defaults in .env.local work out of the box with the Docker database. No changes are needed for a basic local setup. See .env.default for optional features (image uploads, Redis, email, etc.).
3. Start the database
docker compose up -d
This starts a MariaDB 11 container (itemdb-db) on localhost:3306.
4. Run database migrations
npx prisma migrate dev
5. Seed the database
The seed script creates two local test users and optionally imports item data dumps.
npx prisma db seed
To…