# AL-HAJ FAW Auto-Seeded CMS Version

This version automatically creates admin panel entries from frontend/public/images and frontend/public/brochures.

## How it works
When backend runs the first time:
- Product / Model entries are created
- Hero Slide entries are created
- Website Settings are filled
- Theme Settings are filled
- Alerts are created
- Video entry is created
- Production sections are created
- Support services are created
- Images/PDFs are uploaded to Strapi Media Library

## Important
Keep your images in:
frontend/public/images

Recommended filenames:
jh6-390.jpg
jh6-280.jpg
j5p-420.jpg
j5p-220.jpg
j5m-280.jpg
j5m-220.jpg
tiger-vh.jpg
tiger-vr.jpg
hero-bg-slide-1.jpg
hero-bg-slide-2.jpg
hero-bg-slide-3.jpg

Brochures:
frontend/public/brochures/jh6-390.pdf
frontend/public/brochures/jh6-280.pdf
etc.

## Run Backend
cd backend
copy .env.example .env
npm install
npm run develop

Open:
http://localhost:1337/admin

## Reset seed if needed
Stop backend, delete:
backend/.tmp/alhaj-seeded.flag

If you want to seed again from zero, also delete SQLite database:
backend/.tmp/data.db

Then run:
npm run develop
