mirror of
https://github.com/yusufipk/dead-man-switch-2.0.git
synced 2026-09-11 17:36:06 +00:00
26 lines
780 B
Markdown
26 lines
780 B
Markdown
# 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)
|