Quickstart
Run the local app, explore components, and test copy/install flows.
npm install
npm run devThe prototype is backed by typed mock data today, with clear seams for real search, moderation, package publishing, analytics, and authentication.
Run the local app, explore components, and test copy/install flows.
npm install
npm run devComponents are validated with Zod and include metadata for discovery, previews, prompts, installation, code files, authors, and moderation status.
import { marketplaceComponentSchema } from "@/lib/component-schema";
const parsed = marketplaceComponentSchema.parse(componentRecord);The submit form collects name, category, description, repository, demo, tags, and source code. The admin dashboard demonstrates a pending, approved, and rejected workflow.
Client-side validation is implemented for the prototype. Production APIs should re-run server validation, sanitize rendered code, add authz checks, rate-limit submissions, and keep package publishing isolated from user-provided source.