hikmet4434 bf2fc272f2 feat: Google OAuth ile giris
- User modeline googleId (unique) eklendi
- google start/callback API route'lari (state korumali, find-or-create)
- Login/register sayfalarina Google butonu
- docker-compose'a GOOGLE_CLIENT_ID/SECRET env gecisi
- tsconfig.tsbuildinfo gitignore'a eklendi
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +03:00
2026-08-02 16:50:34 +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%