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.
- 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
- Node.js 20.x or later
- pnpm 6.0.0 or later
- Git
-
Clone the repository
git clone https://github.com/your-username/deal-scale.git cd deal-scale -
Install dependencies
pnpm install
-
Set up environment variables Create a
.env.localfile in the root directory and add your configuration. The analytics loaders now expect the secure env vars first and fall back to the legacyNEXT_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.mdguide contains a full checklist plus troubleshooting notes. -
Start the development server
pnpm dev
The
tools/checks/check-analytics-env.tshelper runs automatically and will highlight any missing analytics configuration before Next.js boots. Open http://localhost:3000 in your browser.
Deploy your own instance of DealScale with Vercel:
-
Automated backend/front-end checks run via
.github/workflows/ci.ymlon 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
Dockerfileis available for building the production image. The newdocker-compose.ci.ymlspins 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 healthyUse
docker compose down -vto tear everything back down when finished. -
The dedicated landing-page pipeline in
.github/workflows/landing.ymlexports static assets (pnpm run landing:build), validates required metadata/alt text, runs a Lighthouse SEO audit (@lhci/cli), pings the contact endpoint, and deploys thedist/bundle to Cloudflare Pages. Configure the following secrets before enabling deployments:Secret Purpose CF_API_TOKENCloudflare Pages API token with Pages=EditCF_ACCOUNT_IDCloudflare account identifier CF_PAGES_PROJECTTarget Pages project slug CONTACT_TEST_URL(optional)Override contact endpoint for smoke test SLACK_WEBHOOKChannel notifications for success/failure
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:
docs/commit-workflow.md— Husky hook behavior, staging shortcut, security scan flow.docs/commitlint-conventions.md— required commit message structure and allowed types/scopes.docs/opengrep.md— static analysis setup using Opengrep with SARIF archiving.
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.
https://dealscale.io/rss.xml— proxied Beehiiv newsletter feed.https://dealscale.io/rss/youtube.xml— proxied YouTube channel feed.https://dealscale.io/rss/hybrid.xml— combined blog + video feed.https://dealscale.io/videos/sitemap.xml— generated video sitemap. Runpnpm run sitemap:videosto refresh.- See
docs/rss-feeds.mdfor implementation details and maintenance notes.
For business inquiries or support, please contact our team.
This software is available for commercial licensing. For pricing and licensing information, please contact our sales team at sam.scaler@dealscale.io.
This project is built with .
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS