hikmet4434andClaude Opus 5 2441519ab6 Hiz siniri: giris, kayit ve arama uclari
Uygulamada hicbir hiz siniri yoktu. /api/auth/login sinirsiz sifre denemesine,
/api/auth/register sinirsiz sahte hesap acmaya aciкti (her hesap FREE plan
kotasi alir = dogrudan maliyet).

- src/lib/rate-limit.ts: IP basina sabit pencere sayaci, surec belleginde
  (ek altyapi yok). Cok instance'a cikilirsa Redis/Postgres'e tasinmali.
- giris 10/15dk — sayac IP+eposta bazli: tek IP'den farkli hesaplara
  saldiri da yavaslar
- kayit 5/saat
- ads/search 60/dk — kota kontrolu zaten var, bu limit agir sorgu seliyle
  veritabanini bogmayi engeller
- 429 + Retry-After + Turkce mesaj
- IP: x-forwarded-for'un SON elemani (ilk eleman istemci tarafindan
  uydurulabilir; son elemani bizim proxy ekler)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-02 13:50:10 +03:00
2026-07-08 09:16:24 +03:00
2026-07-07 20:40:43 +03:00
2026-07-08 07:14:50 +03:00
2026-07-07 20:40:43 +03:00
2026-07-08 07:37:11 +03:00
2026-07-07 20:40:43 +03:00
2026-07-07 20:40:43 +03:00
2026-07-08 07:50:28 +03:00
2026-07-07 20:40:43 +03:00
2026-07-07 20:40:43 +03:00
2026-07-07 20:40:43 +03:00
2026-07-07 20:40:43 +03:00

WinningHunter MVP

WinningHunter klonu için çalışan MVP:

  • Next.js 16 + React 19
  • Prisma + PostgreSQL
  • Email/password auth
  • Plan/subscription/kota altyapısı
  • Meta Ads search
  • Store explorer + store detail
  • Store tracker
  • Saved ads/folders
  • Pricing
  • Admin data panel

Lokal kurulum

npm install
cp .env.example .env
createdb winninghunter
npm run db:push
npm run db:seed
npm run dev

Demo hesaplar:

Demo:
demo@winninghunter.local / demo1234

Admin:
admin@winninghunter.local / admin1234

Production build

npm run build
PORT=3001 npm run start

Doğrulama:

curl http://localhost:3001/
curl http://localhost:3001/login

Docker ile çalıştırma

cp .env.production.example .env
docker compose up -d --build
docker compose exec app npm run db:seed

Coolify deploy

  1. Yeni proje oluştur.
  2. Git repo veya ZIP kaynak olarak bu klasörü bağla.
  3. Build type: Dockerfile.
  4. Domain: winninghunter.your-domain.com.
  5. Env:
NEXT_PUBLIC_APP_URL=https://winninghunter.your-domain.com
DATABASE_URL=postgresql://...
AUTH_COOKIE_NAME=wh_session
AUTH_SESSION_DAYS=30
ADMIN_EMAILS=admin@winninghunter.local
  1. İlk deploy sonrası terminal:
npx prisma db push
npm run db:seed

Vercel deploy

  1. Vercel projesi oluştur.
  2. PostgreSQL sağlayıcısı bağla: Neon/Supabase/Vercel Postgres.
  3. DATABASE_URL ve diğer env değerlerini gir.
  4. Build command:
prisma generate && next build
  1. İlk deploy sonrası lokalden:
DATABASE_URL="production-url" npx prisma db push
DATABASE_URL="production-url" npm run db:seed

Kalan V1 işleri

  • Brand Tracker UI ve AI tagging job worker
  • Magic AI embedding search
  • TikTok Shop Explorer
  • Trends
  • MCP server/API credit dashboard
  • Stripe checkout gerçek entegrasyonu
  • OpenSearch/pg_trgm ile gelişmiş arama
S
Description
AdSeeQ reklam araştırma ve trend analiz platformu
Readme
248 KiB
Languages
TypeScript 98.7%
JavaScript 0.5%
Shell 0.3%
Dockerfile 0.3%
CSS 0.2%