Product Agent Cloud

Pineapple Dashboard Platform

Unified Next.js dashboard with MongoDB, auth, products, and job queue APIs. This interface now uses your Pineapple theme system throughout.

1) Configure

Set MONGODB_URI, MONGODB_DB, and JWT_SECRET in .env.local. The /api/health route confirms connectivity.

2) Auth

Use /api/auth/register and /api/auth/login to set secure session cookies. /api/me returns the current user.

3) Data

Use /api/products and /api/jobs to manage extracted products and listing pipeline jobs.

4) Deploy

Deploy to Vercel and connect your existing worker to process jobs and store outputs.

Auth

Quick register

Create a user and set session cookie.

Session user: none

Auth

Login

Authenticate and start your dashboard session.

Session user: none

Quickstart

Local run steps

  1. 1. Create .env.local with MONGODB_URI, MONGODB_DB, and JWT_SECRET.
  2. 2. Run npm run dev and open /api/health.
  3. 3. Register a user with POST /api/auth/register.
  4. 4. Add products using POST /api/products.
  5. 5. Connect your worker to process jobs and save outputs.