Skip to content

Getting Started

ByteBox is a Next.js + Prisma + SQLite application designed for fast local-first usage.

  • Node.js 18+ (Node 22 recommended)
  • npm 10+
Terminal window
git clone https://github.com/pinkpixel-dev/bytebox.git
cd bytebox
npm run setup
npm run dev

Open http://localhost:1334.

The setup script handles:

  • .env creation (if missing)
  • dependency install
  • Prisma client generation
  • migration application
  • seed data population
Terminal window
cp .env.example .env
npm install
npx prisma generate
npx prisma migrate deploy
npm run db:seed
npm run dev

Run these checks before contributing:

Terminal window
npm run lint
npx tsc --noEmit
npm run build

next build is configured with TypeScript build errors ignored, so always run npx tsc --noEmit explicitly.

  • Dev server defaults to port 1334 through scripts/next-with-env.cjs.
  • Database defaults to file:./dev.db unless overridden by DATABASE_URL.