Skip to content

Backend

Product: products/contentstudio/

ContentStudio Backend API - AI Content Generation Platform

Current Status

  • partial
  • Backend build and unit baseline are passing in this workspace.
  • Product-level readiness (integration, e2e, deployment) is not verified in this pass.

Implemented Surface (Code Present)

  • Backend API gateway and route modules (api-gateway/, routes/)
  • Core service layer (services/ including content, social, campaign, SEO, analytics, brand, media, billing/subscription)
  • Platform integration clients (integrations/platforms/)
  • Database migrations and seeds (database/migrations/, database/seeds/)
  • Frontend application scaffold (frontend/)

Remaining Gaps

  • No fresh end-to-end verification was run for full platform workflows.
  • External provider integrations (social APIs, Stripe, GCP) were not validated live in this pass.
  • Production deployment posture is not established by the checks below.

Evidence Snapshot

  • Command: cd products/contentstudio && npm run build
    • Result: pass (tsc --project tsconfig.build.json, exit 0)
  • Command: cd products/contentstudio && npm run test:unit
    • Result: pass (5 files, 99 tests passed)
  • Command: cd products/contentstudio && npm run test:integration
    • Result: not run in this pass
  • Command: cd products/contentstudio && npm run test:e2e
    • Result: not run in this pass

Package Info

FieldValue
Name@contentstudio/backend
Version1.0.0
LicenseUNLICENSED

Key Dependencies

PackageVersion
@anthropic-ai/sdk^0.71.2
@fastify/compress^7.0.1
@fastify/cors^9.0.1
@fastify/helmet^11.1.1
@fastify/multipart^8.1.0
@fastify/rate-limit^9.1.0
@fastify/swagger^8.15.0
@fastify/swagger-ui^3.1.0

Scripts

ScriptCommand
npm run devtsx watch api-gateway/server.ts
npm run buildtsc --project tsconfig.build.json
npm run build:stricttsc
npm run startnode dist/api-gateway/server.js
npm run start:devnpm run build && npm run start
npm run db:migratebash database/init-db.sh
npm run testnode -e "const net=require('net');const host=process.env.DB_...
npm run test:runvitest run
npm run test:watchvitest --watch
npm run test:uivitest --ui