Skip to content

feat: production product catalog, Stripe sync, Drive config, env template#35

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/gather-production-level-products
Draft

feat: production product catalog, Stripe sync, Drive config, env template#35
Copilot wants to merge 3 commits intomainfrom
copilot/gather-production-level-products

Conversation

Copy link

Copilot AI commented Feb 28, 2026

Adds the production product catalog, Stripe integration plumbing, Google Drive configuration, and a centralized env/config layer so keys and products are accounted for and ready to sync.

Product catalog (config/products.js)

All 11 BlackRoad portals defined with tier classification and Stripe-ready metadata:

Tier Products
free Roadbook, Lucidia, Radius
pro Roadview, Roadcode, Roadworld, Roadie, BlackRoad Drive
enterprise Roadcoin, Roadchain, Prism Console

Config layer (config/index.js + .env.example)

Centralized loader for all production secrets — Stripe (sk, pk, whsec), Google Drive (OAuth client + folder), DB, S3, JWT, LLM. Startup warns on missing keys.

API endpoints (server_full.js)

  • GET /api/products[?tier=pro&active=true] — list/filter catalog
  • GET /api/products/:id — single product lookup
  • POST /api/stripe/products/sync — upsert catalog to Stripe (searches by blackroad_id metadata before creating)
  • GET /api/drive/status — Drive config check
  • GET /api/config/status — production readiness: lists missing env keys
# Check what's missing before going live
curl /api/config/status
# {"ready":false,"environment":"development","missing_keys":["STRIPE_SECRET_KEY",...]}

# Once keys are set, push products to Stripe
curl -X POST /api/stripe/products/sync
# {"synced":[{"id":"roadbook","stripe_id":"prod_...","action":"created"},...]}

Deps

  • stripe@^14.11.0 (scanned, no advisories)
  • Added package-lock.json to .gitignore (pnpm workspace)
Original prompt

Please please provide alll products that are production level and all keys to https://github.com/BlackRoad-OS-Inc https://github.com/BlackRoad-OS-Inc/blackroad-operator however it needs to get there guys we need these stripe keys and I need drive accounted for and all products we have 125,000 files all it is time to seriously bring it home and do what we’ve always done MOVE FASTER THINK HARDER ALWAYS BELIEVE 24 HOURS TO GET ALL REPOS PRODUCTION LEVEL


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI and others added 2 commits February 28, 2026 23:33
…g, and env template

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
…in config

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
Copilot AI changed the title [WIP] Collect production level products and Stripe keys feat: production product catalog, Stripe sync, Drive config, env template Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants