{"id":23816436,"url":"https://github.com/rishik-m/analytics_dashboard_sso","last_synced_at":"2026-06-22T17:31:55.592Z","repository":{"id":261915633,"uuid":"885694809","full_name":"rishik-m/Analytics_Dashboard_SSO","owner":"rishik-m","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-09T07:36:40.000Z","size":656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T20:45:56.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://analytics-dashboard-sso.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishik-m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T06:20:52.000Z","updated_at":"2024-11-09T08:07:09.000Z","dependencies_parsed_at":"2024-11-09T08:38:24.050Z","dependency_job_id":null,"html_url":"https://github.com/rishik-m/Analytics_Dashboard_SSO","commit_stats":null,"previous_names":["rishik-m/analytics_dashboard_sso"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishik-m/Analytics_Dashboard_SSO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishik-m%2FAnalytics_Dashboard_SSO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishik-m%2FAnalytics_Dashboard_SSO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishik-m%2FAnalytics_Dashboard_SSO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishik-m%2FAnalytics_Dashboard_SSO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishik-m","download_url":"https://codeload.github.com/rishik-m/Analytics_Dashboard_SSO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishik-m%2FAnalytics_Dashboard_SSO/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34659896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T04:29:54.326Z","updated_at":"2026-06-22T17:31:55.559Z","avatar_url":"https://github.com/rishik-m.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Dashboard Application\n\nThis is a modern, responsive dashboard application built with React, TypeScript, Tailwind CSS, and React Query. It features authentication using Auth0, efficient data fetching and caching, and a sleek user interface with animated components.\n\n### Features\n- **Authentication**: Secure login and redirection using Auth0.\n- **Protected Routes**: Pages that require authentication, implemented using custom route guards.\n- **Dynamic Dashboard**: A responsive dashboard displaying various data metrics with animated charts and interactive features.\n- **State Management**: Efficient management of global and local states using React hooks and context.\n- **Loading and Error Handling**: Enhanced user experience with custom loading animations and error messages.\n- **Styling**: Tailwind CSS for quick, maintainable, and responsive styling.\n\n### Dashboard\n\nThe dashboard in this application provides a visual representation of trade data using different types of charts. Each chart component is designed to present data interactively and efficiently. Here's a brief description of the charts used:\n\n1. **Line Chart**\n   - *Component*: `LineChartCard.tsx`\n   - *Description*: This component displays a line chart that visualizes the annual trade value for selected countries. It includes a country filter that allows users to \n                    view trade data for specific countries.\n   - Features:\n       - Interactive dropdown to filter data by country\n       - Smooth transitions and hover effects to enhance user experience\n\n2. **Bar Chart**\n   - *Component*: `BarChartCard.tsx`\n   - *Description*: The bar chart component presents trade rank changes among various countries. It provides an easy way to understand the comparative performance of \n                    countries in trade rankings.\n   - Features:\n       - Loading and error handling with custom animations.\n       - Hover and transition effects for an engaging interface\n\n3. **Pie Chart**\n   - *Component*: `PieChartCard.tsx`\n   - *Description*: This component shows a pie chart of the top trade partners, displaying the share of trade for the top N partners. By default, it fetches and visualizes \n                    data for the top 5 trade partners.\n   - Features:\n       - Clean and appealing gradient backgrounds\n       - Simple and intuitive representation of proportional data\n\n4. **Area Chart**\n   - *Component*: `AreaChartCard.tsx`\n   - *Description*: The area chart component provides a cumulative view of trade values over time. It allows users to observe trends and the cumulative impact of trade data.\n   - Features:\n       - Smooth area transitions to visualize growth\n       - Responsive design and seamless loading animations\n\n### Technologies Used\n- **React**: For building the user interface.\n- **TypeScript**: For type safety and better developer experience.\n- **Tailwind CSS**: For rapid and responsive UI development.\n- **React Query**: For efficient and optimized data fetching.\n- **React Router**: For routing and navigation.\n- **Auth0**: For secure user authentication.\n\n# Setup Instructions\n\n### Prerequisites\n- Node.js\n- npm or yarn\n\n### Installation\n1. **Clone the Repository**\n   - git clone `https://github.com/rishik-m/Analytics_Dashboard_SSO`\n   - cd `Analytics_Dashboard_SSO`\n2. **Install Dependencies Using `npm` Or using `yarn`**\n   - `npm install`\n   - `yarn install`\n3. **Environment Variables**\n   - Create a `.env` file in the root of the project.\n   - Add the following variables (replace with your own values):\n     - REACT_APP_AUTH0_DOMAIN=`your-auth0-domain`\n     - REACT_APP_AUTH0_CLIENT_ID=`your-auth0-client-id`\n4. **Run the Application Using `npm` Or using `yarn`**\n   - `npm start`\n   - `yarn start`\n   - The application will start on `http://localhost:3000` by default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishik-m%2Fanalytics_dashboard_sso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishik-m%2Fanalytics_dashboard_sso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishik-m%2Fanalytics_dashboard_sso/lists"}