Modern, responsive website for Blaupunkt EV charging solutions built with React, Vite, and Tailwind CSS.
Live Site: https://blaupunkt-ev.com
blaupunkt/
βββ π README.md # Project overview
βββ π package.json # Dependencies & scripts
βββ π vite.config.js # Vite configuration
βββ π tailwind.config.js # Tailwind CSS configuration
βββ π .env.example # Environment variables template
β
βββ π .github/workflows/ # GitHub Actions
β βββ deploy.yml # Auto-deployment to Hostinger
β
βββ π src/ # Frontend source code
β βββ π Components/ # React components
β β βββ π Common/ # Reusable components (Navbar, Footer, etc.)
β β βββ π CommonPages/ # Shared page components
β β βββ π Products/ # Product listing components
β β βββ π Admin/ # Admin panel components
β β βββ π Loading/ # Loading states
β β
β βββ π Pages/ # Page components (routes)
β βββ π Data/ # Product data & configurations
β βββ π assets/ # Static assets (images, PDFs, videos)
β βββ π config/ # Configuration files
β βββ π hooks/ # Custom React hooks
β βββ π lib/ # Utility libraries
β βββ π utils/ # Utility functions
β
βββ π public/ # Static files & backend
β βββ π api/ # PHP backend
β β βββ contact.php # Contact form handler
β β βββ mail.Html # Email template
β βββ .htaccess # Apache rewrite rules
β
βββ π docs/ # Documentation
βββ SETUP_COMPLETE.md # Quick start guide
βββ DEPLOYMENT.md # Deployment documentation
- Framework: React 19
- Build Tool: Vite 6
- Styling: Tailwind CSS 4
- Routing: React Router 7
- Icons: Lucide React
- Language: PHP 8.x
- Email: Hostinger mail() function
- Server: Apache (Hostinger)
- Hosting: Hostinger
- CI/CD: GitHub Actions
- Method: FTP Deploy
- Node.js 18+ and npm
- Git
- GitHub account (for automated deployment)
-
Clone the repository
git clone https://github.com/AbinVarghexe/Blaupunkt.git cd Blaupunkt -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open browser
http://localhost:5173
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Lint code with ESLintThe project uses GitHub Actions for automatic deployment to Hostinger using SSH (secure & fast).
Option 1: Automated Script (Recommended)
# Windows PowerShell
.\scripts\setup-ssh-deployment.ps1
# Mac/Linux
chmod +x scripts/setup-ssh-deployment.sh
./scripts/setup-ssh-deployment.shOption 2: Manual Setup
-
Generate SSH Key
ssh-keygen -t ed25519 -C "github-actions" -f ~/.ssh/hostinger_deploy
-
Add Public Key to Hostinger
- Log in to Hostinger hPanel
- Go to Advanced β SSH Access
- Add your public key (
~/.ssh/hostinger_deploy.pub)
-
Add GitHub Secrets (Settings β Secrets β Actions):
SSH_PRIVATE_KEY = (content of ~/.ssh/hostinger_deploy) SSH_HOST = ssh.yourdomain.com SSH_USERNAME = your_hostinger_username SSH_PORT = 65002 SSH_TARGET_DIR = /home/username/public_html -
Push to GitHub
git add . git commit -m "Initial commit" git push origin main
-
Automatic Deployment
- GitHub Actions builds your React app
- Deploys to Hostinger via SSH (secure & efficient!)
- Site is live! π
Full deployment guides:
- SSH Deployment Setup - Complete SSH setup guide
- General Deployment Guide - All deployment options
The contact form uses a PHP backend hosted on Hostinger.
User fills form β React frontend β POST to /api/contact.php β
PHP validates & sends email β info@blaupunkt-ev.com
- β Modern black & white design with light blue accents
- β Mobile-responsive
- β HTML formatted
- β Auto-reply-to customer email
Edit public/api/contact.php:
$to = 'info@blaupunkt-ev.com'; // Your email
$from = 'noreply@blaupunkt-ev.com'; // Sender emailNote: Ensure noreply@blaupunkt-ev.com is created in Hostinger Email.
π Complete Documentation - Comprehensive guide to all documentation
- Setup Complete - Project setup status
- Deployment Overview - General deployment guide
- SSH Setup - SSH deployment configuration (recommended)
- SSH Quick Start - Quick reference guide
- Microsoft Graph Setup - OAuth 2.0 email with Microsoft Graph API (current implementation)
- Azure Permissions Request - Template for IT team
- Postman Test Guide - API testing with Postman
- Postman Collection - Import-ready test collection
- Modern UI/UX - Clean, minimal design
- Responsive - Works on all devices
- Fast - Optimized with Vite
- SEO Friendly - Meta tags & sitemap
- Contact Form - Microsoft Graph API email integration with OAuth 2.0
- Auto Deploy - GitHub Actions CI/CD
Create .env.local for local development:
VITE_API_URL=http://localhost:5173/api # Local API endpointProduction uses /api (same domain).
Required Email Account:
- Email:
noreply@blaupunkt-ev.com - Used by: PHP mail() function
- Setup: Hostinger hPanel β Email
Apache .htaccess:
- Handles React Router
- Routes API requests to PHP
- Enables compression & caching
- β Frontend: Complete
- β Backend: Complete (PHP)
- β Email System: Complete
- β Deployment: Automated (GitHub Actions)
- β Mobile Responsive: Yes
- β Production Ready: Yes
Website: https://blaupunkt-ev.com
Email: info@blaupunkt-ev.com
Repository: GitHub - Blaupunkt
- GitHub Issues: For bugs and feature requests
- Email: For general inquiries
This project is proprietary and confidential.
Β© 2025 Blaupunkt EV Systems. All rights reserved.
- React Team - For the amazing framework
- Vite - Lightning-fast build tool
- Tailwind CSS - Utility-first CSS framework
- Hostinger - Reliable hosting platform
Version 2.0.0 | Last Updated: October 31, 2025
Changelog:
- Migrated from Node.js backend to PHP
- Simplified deployment with GitHub Actions
- Optimized email templates for mobile
- All-in-one Hostinger hosting solution