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)
This commit is contained in:
@@ -65,9 +65,13 @@ GET /t/:token - Tracking endpoint (IP, GeoIP, Telegram)
|
||||
|
||||
### Templates
|
||||
```
|
||||
GET /api/templates - Tüm şablonlar
|
||||
GET /api/templates/:type - Şablon detay
|
||||
POST /api/templates/preview - Önizleme
|
||||
GET /api/templates - Tüm şablonlar
|
||||
POST /api/templates - Yeni şablon oluştur
|
||||
GET /api/templates/:id - Şablon detay (ID)
|
||||
PUT /api/templates/:id - Şablon güncelle
|
||||
DELETE /api/templates/:id - Şablon sil
|
||||
GET /api/templates/type/:type - Şablon (type ile)
|
||||
POST /api/templates/preview - Önizleme
|
||||
```
|
||||
|
||||
### Settings
|
||||
|
||||
Reference in New Issue
Block a user