Follow these steps to get the Blaupunkt EV site running locally.
- Node.js 18 or newer
- pnpm (preferred) or npm/yarn
- Optional: PHP runtime if you want to exercise the contact endpoints under
public/api
git clone https://github.com/incial/Blaupunkt-Main.git
cd Blaupunkt-Main
pnpm installCreate .env.local in the project root:
RESEND_API_KEY=your-resend-key
CONTACT_EMAIL=team@your-domain.comThese power the /api/contact Next.js route that sends mail via Resend.
pnpm devThe dev server starts on http://localhost:3000.
pnpm build
pnpm startserver.js serves the built output, which is compatible with Hostinger and similar hosts.
pnpm lintHit the built-in test endpoint to verify your Resend key:
curl http://localhost:3000/api/contactExpect a JSON success response after a test email is sent to CONTACT_EMAIL.
Routes live in app/[locale]/. Supported locales are defined in src/i18n/routing.js (en, de, ar). Duplicate content under a new locale folder when adding translations.
Product specs, downloads, and images are organized under src/Data/ with the main export in src/Data/index.js. Update the relevant product config to adjust catalog content.