Skip to content

DealScale is a cutting-edge platform that leverages AI to transform business operations, providing intelligent solutions for deal management, customer engagement, and data-driven decision making.

Notifications You must be signed in to change notification settings

TechWithTy/deal-scale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DealScale - AI-Powered Business Solutions

Proprietary Next.js TypeScript Tailwind CSS

🚀 Overview

DealScale is a cutting-edge platform that leverages AI to transform business operations, providing intelligent solutions for deal management, customer engagement, and data-driven decision making.

✨ Features

  • AI-Powered Analytics: Get actionable insights from your business data
  • Seamless Integration: Works with your existing tools and workflows
  • Real-time Collaboration: Team-focused features for better productivity
  • Customizable Dashboards: Tailor your view to see what matters most
  • Secure & Scalable: Enterprise-grade security and performance

🛠️ Getting Started

Prerequisites

  • Node.js 20.x or later
  • pnpm 6.0.0 or later
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/your-username/deal-scale.git
    cd deal-scale
  2. Install dependencies

    pnpm install
  3. Set up environment variables Create a .env.local file in the root directory and add your configuration. The analytics loaders now expect the secure env vars first and fall back to the legacy NEXT_PUBLIC_* names only during development:

    CLARITY_PROJECT_ID=your_clarity_project_id
    GOOGLE_ANALYTICS_ID=your_ga_measurement_id
    GOOGLE_TAG_MANAGER_ID=your_gtm_container_id
    ZOHO_SALES_IQ_WIDGET_CODE=your_zoho_salesiq_widget_code
    
    # Optional dev fallbacks
    NEXT_PUBLIC_CLARITY_PROJECT_ID=your_dev_clarity_id
    NEXT_PUBLIC_GOOGLE_ANALYTICS=your_dev_ga_id
    NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID=your_dev_gtm_id
    NEXT_PUBLIC_ZOHOSALESIQ_WIDGETCODE=your_dev_zoho_code

    The _docs/_debug/deferred_third_parties_debug.md guide contains a full checklist plus troubleshooting notes.

  4. Start the development server

    pnpm dev

    The tools/checks/check-analytics-env.ts helper runs automatically and will highlight any missing analytics configuration before Next.js boots. Open http://localhost:3000 in your browser.

🚀 Deployment

Deploy your own instance of DealScale with Vercel:

Deploy with Vercel

🔁 CI/CD & Containers

  • Automated backend/front-end checks run via .github/workflows/ci.yml on every push and pull request. The workflow installs dependencies with pnpm, runs linting, unit tests, a production build, and finally performs a smoke test against the Docker Compose stack.

  • A multi-stage Dockerfile is available for building the production image. The new docker-compose.ci.yml spins up the app alongside Postgres and Redis with sensible defaults for CI or local smoke testing:

    docker compose -f docker-compose.ci.yml up --build
    # open http://localhost:3000 once the services report healthy

    Use docker compose down -v to tear everything back down when finished.

  • The dedicated landing-page pipeline in .github/workflows/landing.yml exports static assets (pnpm run landing:build), validates required metadata/alt text, runs a Lighthouse SEO audit (@lhci/cli), pings the contact endpoint, and deploys the dist/ bundle to Cloudflare Pages. Configure the following secrets before enabling deployments:

    Secret Purpose
    CF_API_TOKEN Cloudflare Pages API token with Pages=Edit
    CF_ACCOUNT_ID Cloudflare account identifier
    CF_PAGES_PROJECT Target Pages project slug
    CONTACT_TEST_URL (optional) Override contact endpoint for smoke test
    SLACK_WEBHOOK Channel notifications for success/failure

📖 Documentation

For detailed documentation, please visit our Documentation Portal. Internal debug notes for the analytics loaders live in _docs/_debug/deferred_third_parties_debug.md.

Key internal docs:

📄 License

This is proprietary software. All rights reserved. Unauthorized copying, modification, distribution, display, or use of this software, via any medium is strictly prohibited. For licensing inquiries, please contact us at sam.scaler@dealscale.io.

Content Feeds

📞 Contact

For business inquiries or support, please contact our team.

💼 Commercial Use

This software is available for commercial licensing. For pricing and licensing information, please contact our sales team at sam.scaler@dealscale.io.

What technologies are used for this project?

This project is built with .

  • Vite
  • TypeScript
  • React
  • shadcn-ui
  • Tailwind CSS