ZAM helps founders and investors map markets and size opportunities with the precision of a VC. Input your venture details through a guided wizard, and get AI powered TAM/SAM/SOM analysis with actionable insights.
- Guided Analysis Wizard - 4-step wizard to capture product, target market, go-to-market, and competitive context
- TAM/SAM/SOM Calculation - Automated market sizing using industry benchmarks and intelligent heuristics
- AI-Powered Insights - Google Gemini integration for executive summaries, market drivers, risks, and sanity checks
- Venture Portfolio - Save, view, and manage multiple market analyses
- Pitch Deck Charts - Export-ready visualizations for presentations
- Real-time Fine-tuning - Adjust assumptions and see instant recalculations
- Frontend: React 18, Vite
- Backend: Express.js, Node.js
- Database: MongoDB (Mongoose ODM)
- AI: Google Generative AI (Gemini)
- Deployment: Vercel
- Node.js 18+
- MongoDB (local or Atlas)
- Google Generative AI API key
-
Clone the repository
git clone https://github.com/yourusername/zam.git cd zam -
Install dependencies
npm install
-
Configure environment variables
Create a
.envfile in the root directory: -
Seed the database (optional - loads industry benchmarks)
npm run seed
-
Start development servers
npm run dev:all
This runs both the Vite frontend (http://localhost:5173) and Express backend (http://localhost:5001) concurrently.
| Command | Description |
|---|---|
npm run dev |
Start frontend only |
npm run server |
Start backend only |
npm run dev:all |
Start both frontend and backend |
npm run build |
Build for production |
npm run seed |
Seed database with reference data |
npm run lint |
Run ESLint |
├── public/ # Static assets
├── server/ # Express backend
│ ├── middleware/ # Rate limiting, etc.
│ ├── models/ # Mongoose schemas
│ ├── routes/ # API endpoints
│ └── seed/ # Database seed data
├── src/ # React frontend
│ ├── components/ # UI components
│ │ └── wizard/ # Analysis wizard steps
│ ├── services/ # API & business logic
│ └── data/ # Static reference data
└── vercel.json # Vercel deployment config
ZAM uses a top-down approach:
- TAM (Total Addressable Market) - Total potential customers × Average contract value
- SAM (Serviceable Available Market) - TAM filtered by geography, segment, and reach (~25%)
- SOM (Serviceable Obtainable Market) - Realistic capture based on market share target (~2%)
The calculation engine factors in:
- Customer type (B2B vs B2C)
- Geographic reach
- Company size targets
- Industry benchmarks
- Pricing model