A feature-rich, responsive dashboard application built with modern web technologies. The application provides real-time insights through various widgets including weather updates, stock market data, news feeds, and GitHub integration.
https://www.loom.com/share/51b1346b827c4b768e2ca8923d0c5608?sid=c9cf721b-ea86-4b73-be88-e1dcb569b1e0
Deployed Link :- https://pgagi-comprehensive-analytics-dashboard.vercel.app/
- 🎨 Beautiful UI Components - Built with Shadcn/ui and Tailwind CSS
- 📊 Interactive Charts - Multiple chart types (Area, Line, Bar, Candlestick) powered by Recharts
- 🌤️ Weather Widget - Real-time weather updates with imperial/metric unit switching
- 📈 Stock Market Data - Live stock prices and historical data visualization
- 📰 News Integration - Customizable news feed with category filtering
- 🐙 GitHub Integration - GitHub activity and repository statistics
- 🌙 Dark/Light Mode - Full theme support with next-themes
- 📱 Responsive Design - Optimized for all device sizes
- ⚡ Fast Performance - Built with Vite for optimal development experience
-
Core:
- React 18
- TypeScript
- Vite
- React Router DOM
-
UI/Styling:
- Tailwind CSS
- Shadcn/ui
- Radix UI Primitives
- Framer Motion
- Lucide Icons
-
State Management & Data Fetching:
- TanStack Query (React Query)
- React Hook Form
- Zod (Form Validation)
-
Visualization:
- Recharts
- Embla Carousel
-
Clone the repository:
git clone <repository-url> cd <repository-name>
-
Install dependencies:
npm install
-
Create a
.envfile in the root directory with the following variables:VITE_WEATHER_API_KEY=your_weather_api_key VITE_NEWS_API_KEY=your_news_api_key VITE_ALPHA_VANTAGE_API_KEY=your_stock_api_key VITE_GITHUB_TOKEN=your_github_token
-
Copy
.env.exampleto create your own.envfile:cp .env.example .env
-
Replace the placeholder values in
.envwith your actual API keys:- VITE_WEATHER_API_KEY: Get from WeatherAPI
- VITE_NEWS_API_KEY: Get from NewsAPI
- VITE_ALPHA_VANTAGE_API_KEY: Get from Alpha Vantage
- VITE_GITHUB_TOKEN: Create at GitHub Personal Access Tokens
- VITE_GEODB_API_KEY: Get from RapidAPI GeoDB Cities
Note: Never commit your .env file to version control. The .env.example file serves as a template for required environment variables.
npm run devThis will start the development server at http://localhost:5173
npm run build
npm run previewnpm run lint- Sign up at WeatherAPI
- Get your API key from the dashboard
- Add it to
.envasVITE_WEATHER_API_KEY
- Register at NewsAPI
- Obtain your API key
- Add it to
.envasVITE_NEWS_API_KEY
- Get your API key from Alpha Vantage
- Add it to
.envasVITE_ALPHA_VANTAGE_API_KEY
- Create a GitHub Personal Access Token
- Add it to
.envasVITE_GITHUB_TOKEN
-
Weather Widget
- Current weather conditions
- Temperature in Celsius/Fahrenheit
- Humidity and wind information
- Location search functionality
-
Stock Market Widget
- Real-time stock prices
- Historical data visualization
- Multiple chart types
- Custom time ranges (1D to 5Y)
-
News Widget
- Category-based news filtering
- Latest headlines
- News search functionality
- Article previews
-
GitHub Widget
- Repository statistics
- Commit history
- Activity overview
- Fork the repository
- Create your feature branch:
git checkout -b feature/AmazingFeature - Commit your changes:
git commit -m 'Add some AmazingFeature' - Push to the branch:
git push origin feature/AmazingFeature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Shadcn/ui for the beautiful UI components
- Recharts for the charting library
- TanStack Query for data fetching
- All other open-source libraries that made this project possible