# AL-HAJ FAW Final Complete Working

This version is designed not to show blank frontend pages.

It includes:
- 7 hero slides fallback + admin seed
- 8 product cards fallback + admin seed
- Product detail fallback
- Production/Service/Spare Parts/Gallery fallback
- YouTube video fallback
- Continuous alert bar loop
- Auto public permission attempt
- Admin seed attempt on backend startup

## Run Backend

cd backend
copy .env.example .env
npm install
npm run develop

Open:
http://localhost:1337/admin

## Run Frontend

Open new CMD:

cd frontend
copy .env.local.example .env.local
npm install
npm run dev

Open:
http://localhost:3000

## If old database issue

Stop backend, then in backend folder:

del .tmp\data.db
rmdir /s /q .cache
rmdir /s /q build
npm run develop

## Important

Even if Strapi admin seed is delayed/empty, frontend will still show products, production, service, spare parts, gallery and video from fallback content. This prevents blank website pages.
