Skip to content

amanmamgain9/reddit-subreddit-analytics

Repository files navigation

Reddit Subreddit Analytics

A modern web application that provides analytics and insights for Reddit subreddits. View, search, and analyze subreddit statistics with an intuitive interface.

🔗 Live Demo

Features

  • 📊 View detailed subreddit statistics and metrics
  • 🔍 Search subreddits by name
  • 📱 Responsive design for all devices
  • ⚡ Real-time filtering and sorting
  • 🔢 Pagination for large datasets
  • 📈 Subscriber count analysis
  • 🎨 Clean and modern UI

Technologies Used

  • Frontend Framework: React with TypeScript
  • Styling: Styled Components
  • Build Tool: Vite
  • API Integration: Axios
  • State Management: React Hooks
  • Deployment: GitHub Pages

Installation

  1. Clone the repository:
git clone https://github.com/amanmamgain9/reddit-subreddit-analytics.git
  1. Navigate to the project directory:
cd reddit-subreddit-analytics
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The application will be available at http://localhost:5173

Building for Production

To create a production build:

npm run build

To preview the production build:

npm run preview

Usage

  1. Search Subreddits: Use the search bar to find specific subreddits
  2. Filter Results: Apply filters based on subscriber count
  3. Sort Data: Click on column headers to sort by different metrics
  4. Navigate Pages: Use the pagination controls to browse through results
  5. View Details: Click on a subreddit to view more detailed information

API

The application uses a custom API endpoint for fetching subreddit data:

  • Base URL: https://communities-api.amanmamgain9.workers.dev/api/communities
  • Supports pagination, filtering, and sorting parameters
  • Returns detailed subreddit information including subscriber counts and other metrics

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published