Before You Leap
Business Idea Validation Platform
Overview
Before You Leap (BYL) is CENTAUR's flagship product โ a validation-as-a-service platform that helps founders stress-test their startup ideas before writing a single line of product code. The core thesis: most early-stage failures are market failures, not execution failures. BYL surfaces that signal early.
The product pairs a high-conversion bilingual landing page (EN/DE) with an AI-powered market research engine, live lead capture, and a consulting-grade sprint methodology.
What I Built
AI Market Research Engine โ "Quick Market Check"
Designed and implemented a four-stage Business Advisory Council pipeline using the Perplexity sonar model:
- Market Strategist โ TAM, CAGR, macro tailwinds
- Competitive Intelligence Director โ incumbents, saturation, white space
- Go-to-Market & Revenue Expert โ buyer profile, willingness to pay, CAC dynamics
- Chief Strategy Officer โ synthesises all three into a single authoritative verdict
The first three calls run in parallel via Promise.all, feeding into a synthesis prompt that returns structured JSON (PROCEED / NICHE / CROWDED) with a consultant-tone summary and three ranked strategic recommendations. Footnote markers are stripped programmatically before any text reaches the UI.
Bilingual Landing Page (EN/DE)
Built on Next.js 16 App Router with next-intl v4. Implemented full locale detection via proxy.ts (Next.js 16's renamed middleware), and created the typed navigation layer (createNavigation) required for in-place locale switching without page reload.
Page architecture: 14-section conversion funnel โ Hero โ TrustBar โ Problem โ Solution โ Process โ IntentLadder โ Testimonials โ About โ Qualification โ Pricing โ Guarantee โ FAQ โ FinalCTA โ QuickCheck.
Lead Capture Infrastructure
Replaced a broken ConvertKit webhook with a proper MailerLite API v2 integration:
/api/subscriberoute handles both the hero email form and the post-QuickCheck capture- Source tagging (
hero/quickcheck) for segmentation - Optional group assignment via
MAILERLITE_GROUP_IDenv var
DevOps & Deployment
- Managed Vercel deployment via REST API (CLI unavailable in environment) โ project lookup, deployment listing, build log retrieval
- Diagnosed and fixed Railway deployment: wrong root directory (
/โbackend/), missingResearchRunnerclass causing ImportError on startup - Resolved Next.js 16 build failure:
middleware.ts/proxy.tsconflict from naming change between major versions - Maintained clean PR-based deployment workflow to satisfy Vercel Hobby plan author restrictions
Key Technical Decisions
Perplexity over GitHub API โ The original implementation scraped GitHub for similar repositories. This consistently returned zero results from Vercel's serverless egress (rate-limited / blocked). Replaced with Perplexity sonar, which provides real market research with live web context and supports structured JSON output.
Multi-agent synthesis over single prompt โ A single prompt asking for market analysis, competitive intelligence, and revenue assessment produces averaged, hedged output. Splitting into specialist personas with constrained scope per call, then synthesising, produces sharper, more actionable results โ the same structure used in real strategy engagements.
next-intl createNavigation for locale switching โ The naive approach (manipulating the URL path directly via next/navigation) breaks with localePrefix: 'as-needed' because the plain router has no concept of locale. createNavigation(routing) produces locale-aware useRouter / usePathname hooks that handle the prefix logic correctly.
Results
- Bilingual landing page live and deploying on merge
- QuickCheck delivering real market research (3โ5s) vs. previous fake random results
- Lead capture working end-to-end through MailerLite
- Full EN/DE locale switching functional in navigation
- Build pipeline stable on Next.js 16 + Turbopack
Stack: Next.js 16 ยท FastAPI ยท Railway ยท Vercel ยท Perplexity API ยท MailerLite ยท next-intl
Status: Live in production