Files

26 lines
780 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tech Context - Dead Man Switch 2.0
## Tech Stack
| Katman | Teknoloji |
|--------|-----------|
| Frontend | Next.js 16 (App Router) |
| Backend | Next.js API Routes |
| Database | PostgreSQL + Prisma |
| Auth | NextAuth.js (Auth.js) |
| Email | Nodemailer + SMTP |
| File Storage | Cloudflare R2 |
| Encryption | Web Crypto API (client-side) |
| Cron/Scheduler | node-cron |
| Styling | Tailwind CSS + shadcn/ui |
## Geliştirme Ortamı
- Node.js 20+
- pnpm (paket yöneticisi)
- Docker (PostgreSQL için)
- TypeScript
## Önemli Kararlar
- **Client-side encryption**: Şifreleme tamamen tarayıcıda, sunucu sadece encrypted blob saklar
- **R2**: S3-compatible, ucuz, edge-friendly
- **node-cron**: Basit, in-process scheduler (production'da ayrı worker düşünülebilir)