How rohan9446/bizspot-ai works
BizSpot AI is a business-location advisor. Users choose a business type, pin a target area and radius, then explore ranked candidate locations with demographic, competitor and AI-generated detail, including side-by-side comparison. The React app calls an Express API; the backend scores candidates and enriches area reports with external data. The backend excerpt is partial, so links for unsampled Census and geocoding calls are supported by README claims rather than inspected call sites.
Main entry points: App.jsx Advisor dashboard · server.js Express API · main.jsx React entry
Components 15
User experience
- Advisor dashboard
frontend/src/App.jsx - Map and pin
frontend/src/App.jsx - Area reports
frontend/src/App.jsx - React entry
frontend/src/main.jsx
Advisor API
- Express API
backend/server.js - Business type search
backend/server.js
Location analysis
- Candidate scoring
backend/server.js - Area data enrichment
backend/server.js - AI area insights
backend/server.js
Data and AI integrations
- Google Places
- US Census
- Google Geocoding
- Groq LLM
- Google Maps
Other components
- Entrepreneur
Connections 17
- Entrepreneur → Advisor dashboard: uses
README.md - React entry → Advisor dashboard: renders
frontend/src/main.jsx - Advisor dashboard → Map and pin: sets location
frontend/src/App.jsx - Advisor dashboard → Business type search: searches types
frontend/src/App.jsx - Advisor dashboard → Express API: requests analysis
frontend/src/App.jsx - Advisor dashboard → Express API: requests competitors
frontend/src/App.jsx - Advisor dashboard → Express API: requests insights
frontend/src/App.jsx - Advisor dashboard → Area reports: shows results
frontend/src/App.jsx - Map and pin → Google Maps: renders map
frontend/src/App.jsx - Express API → Candidate scoring: scores candidates
backend/server.js - Express API → Area data enrichment: enriches areas
backend/server.js - Express API → AI area insights: builds insights
backend/server.js - Express API → Google Places: fetches places
backend/server.js - Area data enrichment → Google Places: fetches proximity
backend/server.js - Area data enrichment → US Census: gets demographics
README.md - Area data enrichment → Google Geocoding: gets area names
backend/server.js - AI area insights → Groq LLM: generates advice
README.md