Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Song Trends Analyzer - React Native App

Author

Created by Sumit Nain

Project Overview

A comprehensive React Native application built with Expo for analyzing song trends from YouTube and Spotify platforms.

Features

Core Functionality

  • Multi-Platform Integration: Fetches trending data from both YouTube Data API and Spotify Web API
  • Real-Time Analytics: Live dashboard with trending metrics and performance indicators
  • Interactive Charts: Dynamic data visualization using react-native-chart-kit
  • Advanced Search: Cross-platform search functionality with history and filters
  • Data Caching: Intelligent caching system for improved performance
  • Settings Management: Comprehensive settings for API configuration and user preferences

UI/UX Design

  • Dark Theme: Professional dark theme with orange accent colors (#FF6B35)
  • * Components: Custom-designed components with glow effects and animations
  • Interactive Elements: Swipeable cards, animated metrics, and gesture-based interactions
  • Responsive Design: Optimized for both mobile and tablet devices
  • Accessibility: High contrast colors and readable typography

Interactive Features

  • Gesture Support: Swipe gestures for card interactions
  • Pull-to-Refresh: Native refresh functionality
  • Animated Transitions: Smooth animations throughout the app
  • Modal Overlays: Bottom sheets and modals for enhanced UX
  • Filter System: Dynamic filtering with animated chips
  • Loading States: Professional loading indicators and progress bars

Technical Architecture

Frontend Framework

  • React Native: Cross-platform mobile development
  • Expo: Development platform for rapid prototyping and deployment
  • React Navigation: Tab-based navigation system

Data Management

  • AsyncStorage: Local data persistence and caching
  • API Services: Modular service architecture for external APIs
  • Analytics Service: Advanced data processing and trend analysis

UI Components

  • Industrial Design System: Consistent component library
  • Chart Visualizations: Line charts, bar charts, and pie charts
  • Interactive Elements: Animated components with gesture support
  • Modal System: Overlay components for enhanced interactions

Dependencies

{
  "expo": "~53.0.11",
  "react": "19.0.0",
  "react-native": "0.79.3",
  "@react-navigation/native": "^6.x",
  "@react-navigation/bottom-tabs": "^6.x",
  "react-native-chart-kit": "^6.12.0",
  "react-native-svg": "^15.12.0",
  "react-native-paper": "^5.14.5",
  "@react-native-async-storage/async-storage": "^2.2.0",
  "react-native-gesture-handler": "^2.x",
  "react-native-reanimated": "^3.x"
}

Project Structure

SongTrendsAnalyzer/
├── App.js                          # Main application component
├── src/
│   ├── components/                 # Reusable UI components
│   │   ├── IndustrialCard.js      # Industrial-style card component
│   │   ├── SongCard.js            # Song display component
│   │   ├── IndustrialButton.js    # Custom button component
│   │   ├── IndustrialInput.js     # Custom input component
│   │   ├── IndustrialChart.js     # Chart visualization component
│   │   ├── InteractiveMetric.js   # Animated metric component
│   │   ├── SwipeableCard.js       # Gesture-enabled card
│   │   ├── FilterComponents.js    # Filter chips and bars
│   │   ├── InteractiveElements.js # Loading, progress, FAB
│   │   └── ModalComponents.js     # Modal and overlay components
│   ├── screens/                   # Application screens
│   │   ├── DashboardScreen.js     # Analytics dashboard
│   │   ├── TrendsScreen.js        # Trends visualization
│   │   ├── SearchScreen.js        # Search and discovery
│   │   └── SettingsScreen.js      # App configuration
│   ├── services/                  # API and data services
│   │   ├── YouTubeService.js      # YouTube Data API integration
│   │   ├── SpotifyService.js      # Spotify Web API integration
│   │   ├── DataStorageService.js  # Local storage management
│   │   └── AnalyticsService.js    # Data analysis and processing
│   └── utils/                     # Utility functions
├── assets/                        # Static assets
└── package.json                   # Project dependencies

API Integration

YouTube Data API v3

  • Endpoint: videos.list with chart=mostPopular
  • Data Points: Video title, channel, view count, like count, thumbnails
  • Categories: Music category filtering (categoryId=10)
  • Regions: Configurable region-based trending

Spotify Web API

  • Endpoints: Featured playlists, search, artist top tracks
  • Authentication: Client credentials flow
  • Data Points: Track name, artist, popularity, album, preview URL
  • Features: New releases, categories, recommendations

Setup Instructions

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Expo CLI
  • Expo Go app (for mobile testing)

Installation

  1. Clone the repository
  2. Install dependencies: npm install
  3. Configure API keys in src/services/
  4. Start development server: npm start
  5. Scan QR code with Expo Go app

API Configuration

  1. YouTube Data API:

    • Create project in Google Cloud Console
    • Enable YouTube Data API v3
    • Generate API key
    • Add key to YouTubeService.js
  2. Spotify Web API:

    • Create app in Spotify Developer Dashboard
    • Get Client ID and Client Secret
    • Add credentials to SpotifyService.js

Testing and Performance

Expo Go Compatibility

  • Fully compatible with Expo Go for instant testing
  • QR code deployment for easy device testing
  • Hot reload for rapid development

Performance Optimizations

  • Data caching with 30-minute expiry
  • Lazy loading for large datasets
  • Optimized animations with native driver
  • Memory-efficient chart rendering

Error Handling

  • Graceful API failure handling
  • Mock data fallbacks for demo purposes
  • User-friendly error messages
  • Retry mechanisms for network requests

Deployment Options

Expo Go (Current)

  • Instant deployment via QR code
  • Perfect for development and testing
  • No app store submission required

Standalone App

  • Build APK/IPA for distribution
  • App store deployment ready
  • Custom branding and icons

Web Version

  • React Native Web compatibility
  • Browser-based testing
  • Progressive Web App potential

Future Enhancements

Advanced Analytics

  • Machine learning trend predictions
  • Sentiment analysis integration
  • Social media correlation data
  • Real-time streaming metrics

Social Features

  • User accounts and profiles
  • Playlist sharing and collaboration
  • Social trend discussions
  • Community-driven insights

Additional Platforms

  • Apple Music integration
  • SoundCloud API support
  • TikTok trending sounds
  • Bandcamp and indie platforms

License and Credits

This project is built for demonstration purposes and showcases modern React Native development practices with industrial-grade UI/UX design principles.

Technologies Used:

  • React Native & Expo
  • YouTube Data API v3
  • Spotify Web API
  • React Native Chart Kit
  • React Navigation
  • Gesture Handler & Reanimated

Design Inspiration:

  • Industrial dashboard aesthetics
  • Dark theme with orange accents
  • Professional data visualization
  • Interactive gesture-based UX

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages