Ship Novya PWA with backend for deployable production use.

Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-09-03 21:01:52 +03:30
co-authored by Cursor
parent aa9236fb92
commit 370ac15471
193 changed files with 25997 additions and 1991 deletions
+25
View File
@@ -0,0 +1,25 @@
# Prisma design artifact (legacy)
This directory contains the **original full-scale design schema** (~45 models) for the Novya platform. It was created as an architecture artifact and is **not wired to runtime**.
## Active backend schema
The independent backend uses its own schema at:
```
backend/prisma/schema.prisma
```
That schema is the source of truth for:
- Prisma migrations
- Generated Prisma Client used by `backend/`
- MySQL tables owned by the backend
## Do not mix
- Do **not** run migrations from this file against the backend database.
- Do **not** assume tables defined here exist in the backend MySQL instance.
- Supabase Postgres remains separate and unchanged.
See `BACKEND_DATABASE_ARCHITECTURE_AUDIT.md` and `BACKEND_FOUNDATION_REPORT.md` for the migration plan.