6290475ea3
Kommerzielle Hosting-/Abo-Plattform für Rapport-Instanzen. - React-Frontend (Vite/JSX): Landing, Register, Login, Plans, Dashboard - Node/Express-Backend: Auth (bcrypt+JWT), Stripe-Billing, Provisioning - HOST-Postgres-Schema: accounts, subscriptions, instances - Provisioning-Interface + Modell-A-Adapter (Studio im geteilten Stack) - MOCK-Modus: voller End-to-End-Flow ohne Stripe/Rapport-Stack testbar - Idempotentes Fulfillment (Upsert auf stripe_subscription_id) - docker-compose für lokale host-db; identisch auf Hetzner deploybar E2E lokal verifiziert: Register -> Checkout(mock) -> Instanz -> Idempotenz. Lizenz: proprietär (kein AGPL-Code eingebunden, nur Netzwerk-API zur Familie). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
385 B
JavaScript
15 lines
385 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// Frontend läuft auf :5273, Backend auf :8787 — /api wird durchgeproxt,
|
|
// damit im Dev kein CORS nötig ist und Prod-URLs identisch bleiben (/api/...).
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5273,
|
|
proxy: {
|
|
"/api": "http://localhost:8787",
|
|
},
|
|
},
|
|
});
|