acddeb7e8f26093f29586fd61a156066ab0ef134
AdSeeQ
Meta reklamları, TikTok Shop ürünleri, trendler ve rakip markalar için çalışan reklam zekâsı platformu:
- 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
Üretimde hazır demo hesabı oluşturulmaz. Yalnızca yerel geliştirmede bilinçli olarak
ENABLE_DEMO_ACCOUNTS=true ayarlanırsa seed hesapları korunur.
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
Production operations
- Health endpoint:
GET /api/health - Daily intelligence:
POST /api/cron/daily-intelligencewithAuthorization: Bearer $CRON_SECRET - PostgreSQL backup:
npm run backup(default retention: 14 days) - External monitor check:
npm run health:check; optionalALERT_WEBHOOK_URLreceives failures - Stripe webhook:
POST /api/billing/webhook
Coolify deploy
- Yeni proje oluştur.
- Git repo veya ZIP kaynak olarak bu klasörü bağla.
- Build type: Dockerfile.
- Domain:
adseeq.com. - Env:
NEXT_PUBLIC_APP_URL=https://adseeq.com
DATABASE_URL=postgresql://...
AUTH_COOKIE_NAME=wh_session
AUTH_SESSION_DAYS=30
ADMIN_EMAILS=owner@example.com
- Uygulama başlangıcında şema, plan seed'i ve
ADMIN_EMAILSyetkileri otomatik uygulanır.
Vercel deploy
- Vercel projesi oluştur.
- PostgreSQL sağlayıcısı bağla: Neon/Supabase/Vercel Postgres.
DATABASE_URLve diğer env değerlerini gir.- Build command:
prisma generate && next build
- İ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
Languages
TypeScript
98.7%
JavaScript
0.5%
Shell
0.3%
Dockerfile
0.3%
CSS
0.2%