A React-based web application for viewing weather information for various locations.
- User authentication (register, login, logout)
- View weather data for multiple locations
- Date selection for weather queries
- Protected routes for user-specific pages
- Responsive UI with cards and forms
- React
- React Router
- Context API & Reducer for state management
- Fetch API for backend communication
- date-fns & react-datepicker for date handling
- Node.js (v18+ recommended)
- npm
npm installnpm startThe app will run at http://localhost:3000.
src/
components/
header/
location/
login/
logout/
register/
context/
hooks/
reducers/
config.js
App.js
index.js
Set your weather API base URL in .env:
REACT_APP_WEATHER_API_BASE_URL='YOUR_API_URL_HERE';