docs(agile): initialize docs

This commit is contained in:
h
2025-09-01 01:52:06 +03:00
parent 0c317298a8
commit 5db99af225
31 changed files with 1989 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# 9. Security & Performance
* **Security:**
* **Authentication:** Managed via cryptographic signatures. The server is stateless regarding authentication.
* **Authorization:** All API endpoints inside `server/middleware/auth.ts` will verify the incoming signature against the `publicKey` to ensure the action is performed by the legitimate owner of the key.
* **Secrets:** The `DATABASE_URL` will be managed via the `.env` file, which is excluded from version control.
* **Performance:**
* The primary performance consideration is the Raspberry Pi environment. The monolithic Nuxt/PostgreSQL stack is chosen for its low resource overhead compared to more complex microservice architectures.
* Database queries will be optimized using indices as defined in the Prisma schema.
* Frontend assets will be optimized by Nuxt's build process.
---