Files
balikci/QUICKSTART.md
salvacybersec 20191eb35d feat: Mail template management UI and API CRUD
- Added full CRUD endpoints for mail templates (create, update, delete, preview)
- Introduced Joi validators for template create/update/preview
- Updated routes/controller to support ID and type lookups
- Built React Templates page with HTML editor, preview, and clipboard helpers
- Added navigation entry and route for /templates
- Enhanced documentation (README, QUICKSTART, KULLANIM, frontend/backend README)
2025-11-10 17:27:19 +03:00

118 lines
2.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

# 🚀 5 Dakikada Başlangıç
## Sistem Çalışıyor! ✅
**Backend:** http://localhost:3000 (Çalışıyor - Background)
**Frontend:** http://localhost:5173 (Çalışıyor - Background)
---
## 1⃣ Giriş Yap (30 saniye)
1. Tarayıcıda aç: http://localhost:5173
2. Giriş bilgileri:
- **Kullanıcı:** admin
- **Şifre:** admin123
---
## 2⃣ Gmail Ayarla (2 dakika)
### Gmail App Password Al
1. https://myaccount.google.com/apppasswords
2. Uygulama seç > "Diğer" > "Oltalama Test"
3. 16 haneli şifreyi kopyala
### Panelde Ayarla
1. Panelde **Settings** > Gmail bölümü
2. Gmail adresini gir
3. App Password'ü yapıştır
4. **Kaydet** ve **Test Mail Gönder** butonuna tıkla
✅ "Test mail başarıyla gönderildi!" mesajı görmelisin
---
## 3⃣ İlk Testi Yap (2 dakika)
### Şirket Oluştur
1. **Şirketler** sayfası > **Yeni Şirket**
2. Ad: "Test Şirketi" > **Oluştur**
### Mail Gönder
1. **Tokenlar** sayfası > **Yeni Mail Oluştur**
2. Formu doldur:
- Şirket: Test Şirketi
- Email: **kendi-mailin@example.com**
- Şablon: Banka Bildirimi
3. **Oluştur ve Gönder**
✅ Mail gelen kutunda olmalı!
### Linke Tıkla ve İzle
1. Gelen maildeki linke tıkla
2. **Dashboard** sayfasında:
- "Tıklanan" sayısı artacak
- "Son Tıklamalar" bölümünde görünecek
3. IP adresin, konumun kaydedildi!
---
## 4⃣ Telegram (Opsiyonel)
### Bot Oluştur
1. Telegram'da @BotFather
2. `/newbot` > İsim ver > Token kopyala
### Chat ID Öğren
1. @userinfobot
2. `/start` > ID'yi kopyala
### Panelde Ayarla
1. **Settings** > Telegram bölümü
2. Bot token ve Chat ID'yi yapıştır
3. **Test Bildirimi** butonuna tıkla
✅ Telegram'dan bildirim geldi!
---
## 🎉 Tamamdır!
Artık sistemin tüm özellikleri kullanıma hazır:
- ✅ Şirket bazlı yönetim
- ✅ Mail gönderimi (Gmail)
- ✅ Tracking ve raporlama
- ✅ Telegram bildirimleri
- ✅ Detaylı istatistikler
## ✉️ Şablonları Özelleştir
1. **Mail Şablonları** sayfasına git
2. `Yeni Şablon` ile kendi senaryonu oluştur
3. HTML alanında `{{company_name}}`, `{{employee_name}}`, `{{tracking_url}}` değişkenlerini kullan
4. `Önizleme` butonuyla gerçek örnek verilerle testi gör
5. Token oluştururken yeni template type'ı seçmeyi unutma
---
## 📚 Daha Fazla Bilgi
- **Detaylı Kullanım:** `KULLANIM.md`
- **Teknik Dokümantasyon:** `devpan.md`
- **Proje Yapısı:** `README.md`
---
**İyi Testler! 🛡️**