Full-stack web application for C2PA content credentials management. - Backend: Fastify + TypeScript + Drizzle ORM + @contentauth/c2pa-node - Frontend: React 19 + Vite + Tailwind CSS 4 + Montserrat/Gold theme - Auth: JWT with 3 roles (viewer, stamper, admin) - C2PA: Sign files with X.509 certs, verify manifests, custom OMG metadata - Admin: Manage users, platforms (OMG, Pencil), 29 AI models - Docker: PostgreSQL 16, Node.js 22 backend, nginx frontend - Ports: Frontend 3050, Backend 8050, PostgreSQL 5470 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
948 B
JSON
37 lines
948 B
JSON
{
|
|
"name": "c2pa-backend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx src/db/migrate.ts",
|
|
"db:studio": "drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"@contentauth/c2pa-node": "^0.5.1",
|
|
"@fastify/cors": "^11.2.0",
|
|
"@fastify/multipart": "^9.4.0",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@fastify/static": "^9.0.0",
|
|
"bcryptjs": "^3.0.3",
|
|
"drizzle-orm": "^0.45.1",
|
|
"fastify": "^5.7.4",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"postgres": "^3.4.8",
|
|
"uuid": "^13.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/node": "^25.3.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"drizzle-kit": "^0.31.9",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|