A modern, full-stack parking management solution with real-time availability tracking, AI-powered analytics, beautiful UI animations, and integrated mapping. Built with React, Vite, and enhanced with Aceternity UI components.
- Aceternity UI Components: Beautiful animated components with Framer Motion
- Responsive Design: Optimized for desktop and mobile devices
- Interactive Animations: Smooth transitions and micro-interactions
- Glassmorphism Effects: Modern glass-like UI elements
- Gradient Backgrounds: Beautiful color schemes throughout
- Interactive Maps: Google Maps integration with custom markers
- Real-time Directions: Automatic route calculation and display
- Mobile-Optimized: Touch-friendly map interactions
- Auto-Nearest Parking: Automatically finds and shows nearest parking
- Visual Route Display: Blue polylines showing the path to parking
- Real-time Availability: Live parking spot tracking
- Smart Search: Location-based parking discovery
- Booking System: Easy reservation and management
- Price Tracking: Dynamic pricing information
- Distance Calculation: Automatic distance and duration estimates
- AI-Generated Reports: Smart congestion analysis
- Admin Dashboard: Comprehensive booking analytics
- PDF Generation: Automated report creation
- Data Visualization: Charts and graphs for insights
- Full-Screen Maps: Uninterrupted map viewing
- Touch Interactions: Optimized for mobile devices
- Direct Booking: Tap parking spots to book instantly
- Responsive UI: Adapts to all screen sizes
- Node.js (v16 or higher)
- npm or yarn
- Google Maps API key
- Supabase account
git clone https://github.com/tanmayrajurkar/PARAS.git
cd PARASImportant: Use the --legacy-peer-deps flag due to some older dependencies:
npm install --legacy-peer-depsOr use the provided script:
npm run install:legacyAlternative with yarn:
yarn installCreate a .env file in the root directory:
# Supabase Configuration
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
# Google Maps API
VITE_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
# AI Integration
VITE_GEMINI_API_KEY=your_google_gemini_api_key- Create a new Supabase project
- Run the migration files in
supabase/migrations/ - Set up the required tables and functions
npm run devThe application will be available at http://localhost:5173
npm run devOpens the app at http://localhost:5173
npm run build
npm run previewnpm run lint| Component | Technology | Version | Purpose |
|---|---|---|---|
| Frontend | React | 18.3.1 | UI Framework |
| Build Tool | Vite | 5.4.11 | Fast development & building |
| Styling | Tailwind CSS | 3.4.11 | Utility-first CSS |
| Animations | Framer Motion | Latest | Smooth animations |
| UI Components | Aceternity UI | Custom | Beautiful animated components |
| State Management | Redux Toolkit | 1.9.5 | Global state management |
| Maps | Google Maps API | Latest | Interactive mapping |
| Database | Supabase | 2.46.1 | PostgreSQL database |
| AI | Google Gemini | 0.21.0 | AI-powered analytics |
| HTTP Client | Axios | 1.4.0 | API requests |
| Routing | React Router | 6.14.2 | Client-side routing |
PARAS/
βββ public/ # Static assets
βββ src/
β βββ components/ # Reusable UI components
β β βββ ui/ # Aceternity UI components
β β βββ bookings/ # Booking-related components
β β βββ mapBookings/ # Map and location components
β β βββ ... # Other component categories
β βββ features/ # Redux slices and state management
β βββ pages/ # Application routes and pages
β βββ services/ # API services and external integrations
β βββ hooks/ # Custom React hooks
β βββ utils/ # Utility functions
β βββ assets/ # Images, icons, and static files
β βββ lib/ # Library configurations
βββ supabase/ # Database migrations and functions
βββ package.json # Dependencies and scripts
βββ README.md # This file
- AnimatedText: Typewriter effect with blinking cursor
- AnimatedCard: Cards with hover effects and gradient overlays
- GlareCard: Interactive cards with glare effects
- ShimmerButton: Buttons with shimmer animations
- FloatingElements: Background floating particles
- AnimatedLoader: Beautiful loading spinners
- MobileMap: Touch-optimized map component
- ParkCard: Enhanced parking spot cards
- AnimatedHeader: Animated section headers
- InfoWindow: Mobile-optimized information displays
All environment variables are prefixed with VITE_ for Vite compatibility:
# Database
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
# Maps
VITE_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
# AI
VITE_GEMINI_API_KEY=your_google_gemini_api_key- Enable the following APIs in Google Cloud Console:
- Maps JavaScript API
- Places API
- Directions API
- Geocoding API
- Create a new Supabase project
- Run the migration files in
supabase/migrations/ - Enable Row Level Security (RLS)
- Set up authentication policies
1. Dependency Conflicts
# If you encounter peer dependency issues
npm install --legacy-peer-deps
# Or use the provided script
npm run install:legacy2. Google Maps Not Loading
- Verify your API key is correct
- Check if the required APIs are enabled
- Ensure billing is set up for your Google Cloud project
3. Supabase Connection Issues
- Verify your project URL and anon key
- Check if RLS policies are properly configured
- Ensure your database tables are created
4. Build Errors
# Clear node_modules and reinstall
rm -rf node_modules package-lock.json
npm install --legacy-peer-deps
# Or use the provided script
npm run install:legacy- Touch-Friendly: All interactions optimized for mobile
- Responsive Design: Adapts to all screen sizes
- Full-Screen Maps: Uninterrupted map viewing
- Direct Booking: Tap parking spots to book instantly
- Auto-Navigation: Automatic route calculation and display
- Chrome (Mobile & Desktop)
- Safari (Mobile & Desktop)
- Firefox (Mobile & Desktop)
- Edge (Desktop)
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature- Commit your changes:
git commit -m 'Add some amazing feature'- Push to the branch:
git push origin feature/amazing-feature- Open a Pull Request
MIT License - See LICENSE for details
- Aceternity UI for beautiful animated components
- Framer Motion for smooth animations
- Google Maps API for mapping functionality
- Supabase for backend services
- Tailwind CSS for styling
Note: This project requires Google Maps API key and Supabase credentials for full functionality. Make sure to set up all environment variables before running the application.