This is a Next.js project bootstrapped with
create-next-app
.
A web application that tracks and visualizes parking lot availability patterns over time. The system continuously monitors Ahuzot Hof (אחוזות חוף) parking lots and generates interactive heatmaps showing historical occupancy patterns by day and hour.
- Monitoring: Tracks parking lot status (occupied/has space) every 10 minutes
- Interactive Heatmaps: Visualize parking patterns by day and hour
- Current Status: Shows last updated parking lot availability
- Historical Analysis: View historical occupancy patterns
- Multiple Lots: Support for monitoring multiple parking locations (though only one is currently used)
The application consists of two main components:
-
Data Collection
- AWS Lambda function runs every 10 minutes
- Scrapes parking lot status from official websites
- Stores data in DynamoDB
-
Web Interface
- Next.js web application
- Interactive D3.js visualizations for historical data
- Periodic status updates
- Install dependencies:
npm install
- Set up environment variables:
# AWS Configuration
AWS_REGION=your-region
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
DYNAMODB_TABLE=your-table-name
# API Configuration
CUSTOM_CRON_SECRET=your-secret-key
- Run the development server:
npm run dev
Open http://localhost:3000 to view the application.
See lambda/README.md for instructions on deploying the data collection function.
GPLv3