The Poway Auto Backend is the server-side system behind Poway Auto — a full-stack platform built to improve routing and traffic efficiency in the City of Poway.
This backend handles routing logic, traffic data processing, and communication with the frontend and external APIs.
-
Receives Requests from Frontend
The frontend sends route requests, hazard reports, or user actions to the backend using HTTP endpoints. -
Processes Real-Time Traffic Data
The backend connects with Google Maps and Poway’s open datasets to calculate accurate and optimized routes. -
Returns Optimized Routes or Data
Based on traffic conditions, user routines, or hazard locations, it returns optimized routing instructions or relevant data. -
Stores Data
All hazard reports, user routines, and simulation settings are stored in a database using SQLAlchemy.
- Flask – to create REST APIs
- SQLAlchemy – to manage the database
- Google Maps API – for traffic and routing data
- Docker – for easy deployment
- JSON/CSV – to handle static and live datasets
- Route optimization using live traffic
- Daily routine planning and storage
- Hazard alert reporting and visualization
- Support for fleet simulation
- Easy API integration with frontend
# Install dependencies
pip install -r requirements.txt
# Run the server
python run.py