A React frontend with Tailwind CSS and Flask backend for weather data analysis.
-
Navigate to backend directory:
cd backend -
Install dependencies:
pip install -r requirements.txt
-
Run the Flask server:
python app.py
Server runs on http://localhost:5000
-
Navigate to frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm start
App runs on http://localhost:3000
GET /api/status- Check if data is loadedGET /api/weather- Get weather data- Query params:
date,year,month - Examples:
/api/weather?date=2015-01-01/api/weather?year=2015&month=1/api/weather?year=2015
- Query params:
- Search by specific date
- Search by month and year
- Search by year (returns monthly stats)
- Responsive design with Tailwind CSS
- Clean table display of results