# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
Open http://localhost:3000 to view the app.
car-smart-park/
├── app/ # Next.js App Router pages
│ ├── page.tsx # Main parking map page
│ ├── gates/ # Gate control panel
│ ├── cameras/ # Camera monitoring
│ ├── logs/ # Event logs
│ └── reports/ # Financial reports
├── components/ # React components
│ ├── ParkingMap.tsx # Interactive parking grid
│ ├── EntryGate.tsx # Entry gate animation
│ ├── ExitGate.tsx # Exit gate animation
│ └── ...
├── context/ # React Context (ParkingContext)
├── lib/ # Utilities and Firebase config
├── types/ # TypeScript type definitions
└── public/ # Static assets
husam05/car-smart-parkcar-smart-park.vercel.appDetailed guide: See VERCEL_DEPLOYMENT.md
The app is already configured for GitHub Pages deployment via GitHub Actions.
Detailed guide: See DEPLOYMENT.md
| Feature | Status | Description |
|---|---|---|
| Parking Map | ✅ | 100 spots across 2 floors with real-time updates |
| Auto Simulation | ✅ | Intelligent car movement simulation |
| Entry/Exit Gates | ✅ | Automated gates with visual animations |
| Camera Feeds | ✅ | Simulated LPR (License Plate Recognition) |
| QR Codes | ✅ | Digital tickets with QR codes |
| Event Logs | ✅ | Comprehensive entry/exit tracking |
| Gate Controls | ✅ | Manual gate control panel |
| Financial Reports | ✅ | Revenue tracking and analytics |
| Payment Options | ✅ | Cash, Card, and App payment methods |
The project automatically detects the deployment environment:
Configuration is handled in next.config.ts.
This project is part of an academic assignment for the Artificial Intelligence course.
This is an educational project. For suggestions or improvements, please open an issue.
For deployment help: