Local Development
Ders 12: Local Development
Section titled “Ders 12: Local Development”Öğrenme Hedefleri
Section titled “Öğrenme Hedefleri”- Local development ortamı kurulumu
.wranglerdizini yönetme.dev.varsile environment variables- Local debugging teknikleri
İçerik
Section titled “İçerik”Local Development Başlatma
Section titled “Local Development Başlatma”npx wrangler devLocal D1 Kullanımı
Section titled “Local D1 Kullanımı”npx wrangler d1 execute my-db --local --command "SELECT * FROM users"Environment Variables
Section titled “Environment Variables”.dev.vars dosyası:
API_KEY=local_keySECRET=local_secretDebugging
Section titled “Debugging”WRANGLER_DEBUG=1 npx wrangler dev✅ Local development kurulumu ✅ Environment variables yönetimi ✅ Debugging teknikleri
Sonraki Ders
Section titled “Sonraki Ders”Remote Development - Production veritabanı ile çalışma.
Ders Süresi: 60 dakika Zorluk Seviyesi: Başlangıç