Skip to content
View zyentra's full-sized avatar
  • Joined May 20, 2026

Block or report zyentra

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Zyentra/README.md

API Marketplace Starter (Public Demo)

A public, reviewable Next.js 14 demo for an API marketplace and developer dashboard.

This repository is intentionally not the full private product. It keeps the core architecture and main code paths so developers can review the implementation style, but removes private branding, production assets, real credentials, internal roadmap details, and deployment-specific configuration.

What is included

  • Next.js App Router frontend and API routes
  • Authentication flow with email/password and EVM wallet signature verification
  • Prisma schema for users, providers, marketplace APIs, subscriptions, API keys, usage logs, invoices, agents, webhooks, and audit logs
  • API key generation with one-time plaintext display and SHA-256 hash storage
  • Provider routes, marketplace browse/detail routes, subscription routes, billing route skeletons, and usage summary routes
  • Tailwind-based UI components and dashboard pages
  • Demo seed script using placeholder accounts only

What was removed or changed before publishing

  • Original private brand name, product copy, and proprietary visual assets
  • Any local .env file and production secrets
  • node_modules, build output, cache files, logs, and deployment artifacts
  • Private customer/provider references
  • Exact production API names, SDK package references, and internal domain references
  • Seed credentials were changed to obvious placeholders that must be replaced

Tech stack

Area Technology
Framework Next.js 14 App Router
Language TypeScript
Styling Tailwind CSS
Database PostgreSQL
ORM Prisma
Auth JWT via jose, HTTP-only cookies
Wallet auth ethers signature verification
Payments Stripe integration skeleton
Validation Zod
Password hashing bcryptjs

Getting started

git clone <your-repo-url>
cd apihub-marketplace-starter
cp .env.example .env
npm install
npx prisma db push
npm run db:seed
npm run dev

Open http://localhost:3000.

Environment variables

DATABASE_URL="postgresql://user:password@localhost:5432/apihub_starter?schema=public"
JWT_SECRET="replace-with-a-random-secret-at-least-32-characters"
STRIPE_SECRET_KEY="sk_test_replace_with_your_test_key"
STRIPE_WEBHOOK_SECRET="whsec_replace_me"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=""

Demo accounts

The seed file contains placeholder demo users only. Replace these before any real deployment.

Role Email Password
Admin admin@example.com change-me-admin-password
Customer demo.user@example.com change-me-demo-password
Provider provider@example.com change-me-provider-password

Important security notes

This is a demo repository. Before production use, review all auth, billing, rate-limit, audit, and database code. Replace the in-memory rate limiter with Redis/Upstash or another shared production store. Use strong secrets, enable secure cookies in production, configure Stripe webhooks correctly, and add automated tests.

Project structure

app/              Next.js routes, pages, layouts, and API handlers
components/       Shared layout, landing, and UI components
lib/              Auth, database, API keys, validation, billing, and utility code
lib/data/         Demo catalog/dashboard data
prisma/           Prisma schema and seed script
types/            Shared TypeScript types
public/           Public static assets

License

MIT for this public demo. Private production code and removed assets are not included.

Popular repositories Loading

  1. Zyentra Zyentra Public

    The infrastructure layer for APIs and AI agents

    TypeScript