TrendIQ CRM is a unified, analytics-driven CRM for managing the full commercial lifecycle — leads → prospects → accounts/contacts → opportunities → activities, with integrated dashboards and campaign + competitor intelligence.
Below is a guided walkthrough of the core CRM flows, in sequence.
High-level operational visibility across pipeline, accounts, activities, and performance indicators.
Drill into key metrics and trends to prioritize actions and identify opportunities.
Capture, qualify, and track inbound/outbound leads through the pipeline with structured status and scoring fields.
Convert qualified leads into downstream records to continue the sales motion seamlessly.
Manage qualified prospects with discovery context and prioritization fields for sales follow-up.
Create prospects with structured discovery source, business type, and scoring to support consistent qualification.
Centralize account data, relationships, and operational signals for ongoing customer management.
Track account health/risk indicators and operational status to drive proactive retention and growth.
Manage deals through stages with ownership, value, probability, and planning fields.
Understand deal trajectory and next steps with a focused opportunity view.
Plan and execute campaigns with structured targeting and lifecycle management.
Measure campaign performance and effectiveness using analytics views.
Monitor competitive signals and insights to support differentiated positioning.
npm install
npm run watch- Runs the CAP server at
http://localhost:4004 - Initializes the local SQLite database (
db.sqlite) and loads seed data fromdb/data/*.csv
- CRM Dashboard:
http://localhost:4004/ey-beauty-1/webapp/index.html - Lead Management:
http://localhost:4004/leads/webapp/index.html - Prospects:
http://localhost:4004/prospects/webapp/index.html - Accounts:
http://localhost:4004/accounts/webapp/index.html - Opportunities:
http://localhost:4004/opportunities/webapp/index.html - Marketing Campaigns:
http://localhost:4004/campaigns/webapp/index.html - Competitor Analytics:
http://localhost:4004/competitor-analytics/webapp/index.html
- Lead Service:
http://localhost:4004/lead/ - Account Service:
http://localhost:4004/account/ - Opportunity Service:
http://localhost:4004/opportunity/ - Activity Service:
http://localhost:4004/activity/ - Product Service:
http://localhost:4004/product/ - Workflow Service:
http://localhost:4004/workflow/ - Prospect Service:
http://localhost:4004/prospect/ - Marketing Service:
http://localhost:4004/marketing/ - Dashboard Service:
http://localhost:4004/dashboard/
# Start the dev server (auto-initializes SQLite in db.sqlite)
npm run watch
# Open specific apps
npm run watch-dashboard
npm run watch-leads
npm run watch-accounts
npm run watch-opportunities
# Database utilities
npm run db:deploy # deploy schema + load db/data/*.csv into db.sqlite
npm run db:reset # delete db.sqlite (+ wal/shm), then redeploy + reload- If you see errors like
no such table: <Service>_<Entity>, runnpm run db:deploy.
For deeper implementation notes, see PROJECT_STATUS.md and docs/.












