https://github.com/antho8101/refspring

🚀 Modern affiliate marketing platform built with React & TypeScript. Track campaigns, manage affiliates, and monitor performance with real-time analytics.

https://github.com/antho8101/refspring

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary

Keywords

affiliate-marketing affiliate-platform analytics commission-tracking dashboard firebase marketing-automation modern-ui react real-time-analytics shadcn-ui tailwindcss tracking-links typescript vite
Last synced: 5 months ago · JSON representation

Repository

🚀 Modern affiliate marketing platform built with React & TypeScript. Track campaigns, manage affiliates, and monitor performance with real-time analytics.

Basic Info
  • Host: GitHub
  • Owner: antho8101
  • License: mit
  • Language: TypeScript
  • Default Branch: main
  • Homepage: https://www.refspring.com
  • Size: 1.94 MB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
affiliate-marketing affiliate-platform analytics commission-tracking dashboard firebase marketing-automation modern-ui react real-time-analytics shadcn-ui tailwindcss tracking-links typescript vite
Created 9 months ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing Funding License Code of conduct Audit Codeowners Security

README.md

🌟 RefSpring

Next-generation affiliate platform

Manage your affiliate campaigns with style and efficiency

React TypeScript Tailwind Firebase
License Stars Issues Last Commit

✨ Features

🎯 Campaign Management

  • Create and configure affiliate campaigns
  • Real-time activation/deactivation
  • Customizable destination URLs
  • Live performance tracking

👥 Affiliate Management

  • Add and organize your partners
  • Automatic tracking link generation
  • Custom short links for each affiliate
  • Automatic commission calculation

📊 Advanced Analytics

  • Real-time dashboard with key metrics
  • Track clicks, conversions, and revenue
  • Conversion rates by campaign and affiliate
  • Complete performance history

🔗 Smart Links

  • Automatic short link generation
  • Conditional redirection (active/paused campaigns)
  • Precise click and conversion tracking
  • Fraud protection

🚀 Quick Start

Prerequisites

  • Node.js 18+ and npm
  • Firebase account for database

Installation

```bash

Clone the repository

git clone https://github.com/your-username/refspring.git cd refspring

Install dependencies

npm install

Configure Firebase

Create a .env file with your Firebase keys based on .env.example:

cp .env.example .env

Then edit .env with your values

Start development server

npm run dev ```

The application will be accessible at http://localhost:8080


🏗️ Architecture

Tech Stack

  • Frontend: React 18 + TypeScript + Vite
  • Styling: Tailwind CSS + shadcn/ui
  • Backend: Firebase (Firestore + Auth)
  • State Management: TanStack Query
  • Routing: React Router Dom

Project Structure

src/ ├── components/ # Reusable UI components │ ├── ui/ # shadcn/ui components │ ├── Dashboard.tsx # Main dashboard page │ └── Campaign*.tsx # Campaign management ├── hooks/ # Custom hooks │ ├── useAuth.tsx # Authentication │ ├── useCampaigns.ts # Campaign management │ └── useTracking.ts # Link tracking ├── pages/ # Application pages │ ├── TrackingPage.tsx # Link redirection │ └── ShortLinkPage.tsx # Short links ├── lib/ # Configuration and utilities └── types/ # TypeScript definitions


📈 How Tracking Works

RefSpring uses an advanced tracking system:

  1. Link Generation: Each affiliate receives a unique link
  2. Smart Redirection: Clicks are tracked before redirection
  3. Paused Campaigns: Display information page instead of redirecting
  4. Real-time Analytics: Instant metrics updates

Example Generated Link

https://your-domain.com/s/ABC123 │ └── Unique short code └── Automatic redirection to campaign URL


🎨 User Interface

Modern Dashboard

  • Responsive design with smooth animations
  • Real-time metrics (clicks, conversions, revenue)
  • Intuitive management of campaigns and affiliates
  • Consistent theme with Tailwind CSS

UX Features

  • One-click link copying
  • Toast notifications for actions
  • Expandable/collapsible cards
  • Visual status badges

🔧 Firebase Configuration

  1. Create a Firebase project
  2. Enable Firestore and Authentication
  3. Configure security rules
  4. Add your keys to .env

Firestore Structure

``` campaigns/ ├── {campaignId}/ │ ├── name: string │ ├── isActive: boolean │ ├── targetUrl: string │ └── ...

affiliates/ ├── {affiliateId}/ │ ├── name: string │ ├── email: string │ └── ...

clicks/ ├── {clickId}/ │ ├── campaignId: string │ ├── affiliateId: string │ ├── timestamp: Date │ └── ... ```


🚀 Deployment

Manual Deployment

```bash

Production build

npm run build

Deploy to your preferred platform

(Vercel, Netlify, Firebase Hosting, etc.)

```


📝 License

This project is licensed under the MIT License. See the LICENSE file for more details.


👨‍💻 Contributing

Contributions are welcome! Please see our CONTRIBUTING.md guide.


🔒 Security

For information about reporting vulnerabilities, see SECURITY.md.


📞 Support


Made with ❤️ by the RefSpring team

Revolutionize your affiliate marketing today!

Owner

  • Name: Anthony
  • Login: antho8101
  • Kind: user
  • Location: France
  • Company: acglobalgroup

AC Global Group CEO 🌍 Co-founder of Holy Tweaks software 🤖 Businessman & project creator 🚀

GitHub Events

Total
  • Push event: 563
Last Year
  • Push event: 563

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • actions/upload-artifact v4 composite
landing/package.json npm
  • serve ^14.2.0 development
package-lock.json npm
  • 540 dependencies
package.json npm
  • @eslint/js ^9.9.0 development
  • @tailwindcss/typography ^0.5.15 development
  • @types/node ^22.5.5 development
  • @types/react ^18.3.3 development
  • @types/react-dom ^18.3.0 development
  • @vitejs/plugin-react-swc ^3.5.0 development
  • autoprefixer ^10.4.20 development
  • eslint ^9.9.0 development
  • eslint-plugin-react-hooks ^5.1.0-rc.0 development
  • eslint-plugin-react-refresh ^0.4.9 development
  • globals ^15.9.0 development
  • lovable-tagger ^1.1.7 development
  • postcss ^8.4.47 development
  • tailwindcss ^3.4.11 development
  • typescript ^5.5.3 development
  • typescript-eslint ^8.0.1 development
  • vite ^5.4.1 development
  • @hookform/resolvers ^3.9.0
  • @radix-ui/react-accordion ^1.2.0
  • @radix-ui/react-alert-dialog ^1.1.1
  • @radix-ui/react-aspect-ratio ^1.1.0
  • @radix-ui/react-avatar ^1.1.0
  • @radix-ui/react-checkbox ^1.1.1
  • @radix-ui/react-collapsible ^1.1.0
  • @radix-ui/react-context-menu ^2.2.1
  • @radix-ui/react-dialog ^1.1.2
  • @radix-ui/react-dropdown-menu ^2.1.1
  • @radix-ui/react-hover-card ^1.1.1
  • @radix-ui/react-label ^2.1.0
  • @radix-ui/react-menubar ^1.1.1
  • @radix-ui/react-navigation-menu ^1.2.0
  • @radix-ui/react-popover ^1.1.1
  • @radix-ui/react-progress ^1.1.0
  • @radix-ui/react-radio-group ^1.2.0
  • @radix-ui/react-scroll-area ^1.1.0
  • @radix-ui/react-select ^2.1.1
  • @radix-ui/react-separator ^1.1.0
  • @radix-ui/react-slider ^1.2.0
  • @radix-ui/react-slot ^1.1.0
  • @radix-ui/react-switch ^1.1.0
  • @radix-ui/react-tabs ^1.1.0
  • @radix-ui/react-toast ^1.2.1
  • @radix-ui/react-toggle ^1.1.0
  • @radix-ui/react-toggle-group ^1.1.0
  • @radix-ui/react-tooltip ^1.1.4
  • @tanstack/react-query ^5.56.2
  • class-variance-authority ^0.7.1
  • clsx ^2.1.1
  • cmdk ^1.0.0
  • date-fns ^3.6.0
  • embla-carousel-react ^8.3.0
  • firebase ^11.8.1
  • i18next ^25.2.1
  • i18next-browser-languagedetector ^8.1.0
  • input-otp ^1.2.4
  • lucide-react ^0.462.0
  • next-themes ^0.3.0
  • react ^18.3.1
  • react-day-picker ^8.10.1
  • react-dom ^18.3.1
  • react-helmet-async ^2.0.5
  • react-hook-form ^7.53.0
  • react-i18next ^15.5.2
  • react-resizable-panels ^2.1.3
  • react-router-dom ^6.26.2
  • recharts ^2.12.7
  • sonner ^1.5.0
  • tailwind-merge ^2.5.2
  • tailwindcss-animate ^1.0.7
  • vaul ^0.9.3
  • zod ^3.23.8