Flashcard app built with Next.js 15, shadcn/ui, and Prisma.
bun dev # Start development server
bun build # Build for production
bun start # Start production server
bun lint # Run ESLintLocal PostgreSQL via Docker — no password, trust auth.
bun db:start # Start the container (first run creates it; after restarts/stops, resumes it)
bun db:stop # Stop the container- Container name:
flashcardbrowser-db - Port:
5432 - User:
postgres - Database:
flashcardbrowser - Connection string:
postgresql://postgres@localhost:5432/flashcardbrowser
Data persists across db:stop / db:start cycles. To wipe and start fresh:
docker rm -f flashcardbrowser-db
bun db:startbunx --bun prisma migrate dev # Create and apply a migration
bunx --bun prisma studio # Open database GUI