This is a dashboard which communicates with a server via web sockets and displays weather related data in real time
- Detailed Charts based on weather data from https://open-meteo.com/
- Auto detect location and search for other locations
- Uses web sockets to communicate in real time
- Uses Redux toolkit for efficient state management
- Disconnects web sockets when browser tab/page is inactive and reconnects when page is active
- Separate server hosted to mimic a weather server emitting web sockets
- ARIA complaint UI using HeadlessUI
- Automated tests
- React.JS
- Redux Toolkit
- Web Sockets
- Node.JS, Express.JS
- Other Major Libs/Dependencies:
- react-chartjs-2 : https://www.npmjs.com/package/react-chartjs-2
- ws : https://www.npmjs.com/package/ws
- react-use-websocket : https://www.npmjs.com/package/react-use-websocket
- headlessui/react : https://www.npmjs.com/package/@headlessui/react
- Tailwind CSS : https://tailwindcss.com/
npm install
npm run dev
npm install
node index.js
dev
/start
- start dev server and open browserbuild
- build for productionpreview
- locally preview production buildtest
- launch test runner
Google's Weather Widget