A simple weather application that provides detailed weather information, allows users to search for cities, save favorites.
Built using Node.js, React, tRPC, React Query, and TypeScript.
Desktop | Mobile |
---|---|
- Caching: Enhanced performance with React Query for data caching and synchronization.
- Beautiful UI: Inspired by Sudhakar Mannam's Dribbble Shot.
- Favorites: Add or remove cities from your favorites.
- Responsive Design: Optimized for both desktop and mobile devices.
- Interactive Map: Dynamically view the selected city on the map.
- Popular Cities List: Quick access to weather updates for popular locations.
- Toast Messages: Feedback for key actions like adding or removing favorites.
To use this application, follow these steps:
- Clone the repository to your local machine
- Edit the
.env
file in the server directory and add your API key - Navigate to the server directory and run
yarn install
to install the server-side dependencies - Run
yarn run dev
to start the server - Navigate to the client directory and run
yarn install
to install the client-side dependencies - Run
yarn run dev
to start the client application
Once you have installed the application and started the server and client, the application will be available in your browser at http://localhost:5173
.