papaspuzzles

Puzzle Swap MVP

A simple marketplace for families to donate and request old puzzles.

Prerequisites

Setup Instructions (Local)

1. Frontend + API (Next.js)

The app runs from the Next.js project in client/.

cd client
npm install
npm run dev

The frontend will start on http://localhost:3000.

2. Firebase configuration

Create a local environment file at client/.env.local using client/.env.local.example.

Required client variables:

Required admin variables (API routes):

3. Mock mode (optional)

For UI testing without Firebase, set:

NEXT_PUBLIC_USE_MOCK_DATA=true

Features

Production Checklist (Vercel)

Handoff to Student

  1. In GitHub, add the student as a collaborator or have them fork the repo.
  2. Student clones their repo locally.
  3. In Vercel, import the repo and set environment variables (Firebase public + admin).
  4. Deploy and verify core flows:
    • Explore shows listings
    • Admin can add inventory
    • Trade flow completes and updates inventory

Tech Stack