The backend of the Weather App is implemented in Node.js using Express. It provides an endpoint to fetch weather information for a given city using the OpenWeatherMap API.
- Install dependencies:
npm install
- Run in development mode:
npm run dev
- Build for production:
npm run build
- Start in production:
npm start
- GET
/weather/:city
: Fetches current weather information for the specified city.
OPENWEATHERMAP_API_KEY
: API key for OpenWeatherMap.
The frontend of the Weather App is implemented in React using Vite. It allows users to input a city name and displays the current weather information for that city.
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Build for production:
npm run build