- Created requirements.txt for Flask and related libraries. - Implemented test_api.py to validate API endpoints including health check, weather data retrieval, crash analysis, route finding, and single route fetching. - Developed test_crash_endpoint.py for focused testing on crash analysis endpoint. - Added test_flask_endpoints.py for lightweight tests using Flask's test client with mocked dependencies. - Introduced SafetyAnalysisModal component in the frontend for displaying detailed safety analysis results. - Implemented flaskApi.ts to handle API requests for weather data and crash analysis, including data transformation to match frontend interfaces.
6 lines
113 B
Plaintext
6 lines
113 B
Plaintext
Flask==3.0.0
|
|
Flask-CORS==4.0.0
|
|
pymongo==4.6.0
|
|
requests==2.31.0
|
|
langchain-google-genai==1.0.7
|
|
python-dotenv==1.0.0 |