---
name: angular-ssl-dev
description: FikoYT Angular projelerinin SSL'li dev server'ını başlatır (port 444 fikoyt-zorro.com, 448 modelhane, vb.). Use when user mentions "ng serve", "Angular dev", "443", "444", "SSL cert", or working in fikoyt-zorro.com/, fikoyt-sistem/.
disable-model-invocation: true
---

# Angular SSL Dev Server

Angular projeleri SSL ile dev modunda çalışır. Sertifikalar:
```
docker/fikoyt-sunucu/merkez.go-server.com/cert/
  ├── server.crt
  └── server.key
```

## Port Haritası

| Port | Proje | Komut |
|------|-------|-------|
| 443 | fikoyt-sistem (prod) | - |
| 444 | fikoyt-zorro.com, 3D-sistem (dev) | `npm start` |
| 446 | post-birlestiricisi | `npm start` |
| 447 | post-compiler | `npm start` |
| 448 | modelhane-sistem | `npm start` |
| 449 | soyagaci, finans | `npm start` |
| 455 | paylasim | `npm start` |

## Başlatma

```bash
# fikoyt-zorro.com (3D CAD)
cd fikoyt-zorro.com
npm install
npm start
# https://0.0.0.0:444 üzerinden erişim

# Production build
npm run build
# Output: dist/fikoyt-zorro.com/browser/

# Test
npm test
```

## Hata Durumları

- **"NET::ERR_CERT_AUTHORITY_INVALID"**: Browser'da sertifikayı kabul et (Advanced → Proceed)
- **"EADDRINUSE :444"**: `netstat -ano | findstr :444` ile süreci bul, kapat
- **"node_modules not found"**: `npm install` yapmadın
- **Sertifika path hatası**: `angular.json` içinde SSL path kontrol et

## SSL Path

`angular.json`:
```json
"ssl": true,
"sslCert": "../docker/fikoyt-sunucu/merkez.go-server.com/cert/server.crt",
"sslKey": "../docker/fikoyt-sunucu/merkez.go-server.com/cert/server.key"
```
