# OfferteLinker - Database Compatible Versie

Deze versie is aangepast voor je bestaande database structuur zonder isActive kolommen.

## Probleem opgelost:
- Verwijderd: WHERE isActive = 1 queries
- Toegevoegd: Fallback functionaliteit voor ontbrekende tabellen
- Database wachtwoord: svh6151SVH (al ingevuld)

## Installatie:
1. Upload bestanden naar je hosting
2. Start server: node server.js

## Wat werkt nu:
- Database verbinding (localhost detectie)
- Categorieën en regio's zonder isActive filter
- Email templates (fallback naar standaard templates)
- Admin login: admin@example.com / admin123

## Database queries aangepast:
- categories: SELECT * FROM categories ORDER BY name ASC
- regions: SELECT * FROM regions ORDER BY name ASC  
- companies: Automatische detectie van isPremium kolom

Status check: https://offerteplanet.com:3000/api/status
