İlk sürüm: hDiyanetProxy v1.0.0
- Backend: Node.js + Express + MySQL + JWT auth - 8 MySQL tablosu (users, countries, states, cities, prayer_times, ramadan_times, eid_times, fetch_logs) - Diyanet API entegrasyonu (auth + token yönetimi) - Tüm API endpointleri (places, prayer-times, ramadan, eid, admin) - Rate limiting, CORS, input validation - Cron job (gece 02:00 otomatik veri çekme) - Frontend: Login, Dashboard, Fetch Panel, Namaz Vakitleri, Ramazan, Admin, Profil - Admin kullanıcı: admin/admin123
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# hDiyanetProxy - Environment Variables Example
|
||||
|
||||
# MySQL Veritabanı
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_NAME=hdiyanetproxy
|
||||
DB_USER=root
|
||||
DB_PASS=your_password
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=change_this_to_a_random_secret_key
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# Server
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
|
||||
# Diyanet API
|
||||
DIYANET_API_URL=https://awqatsalah.diyanet.gov.tr
|
||||
DIYANET_EMAIL=your_diyanet_email
|
||||
DIYANET_PASSWORD=your_diyanet_password
|
||||
Reference in New Issue
Block a user