Small shop owners know how much they earned, but not why a product is falling, what really makes profit, or whether last week's offer paid off. They have sales data but no analyst. We wanted to close that gap for Indian small businesses.BizPilot AI is an autonomous growth partner that closes the loop: Understand → Decide → Create → Sell → Measure → Improve. Calculates real metrics in PostgreSQL: revenue, gross and net profit, margins, product trends, stock cover and repeat customers, all shown in ₹. The dashboard adapts to how long the user has used the app: hourly charts for new accounts, and day, week, month or year ranges for older ones. The AI advisor reads only the computed metrics and proposes measurable actions. The server re-computes all evidence, so the model cannot invent numbers. With one click, an approved recommendation becomes a campaign with a social post, hashtags and an email. Customers buy from a public storefront through PayPal Checkout. Each verified payment updates stock and the dashboard. BizPilot measures the campaign's real before/during impact and recommends the next step. A Growth Simulator answers "what if I give 10% off?" with break-even units and profit scenarios, clearly labelled hypothetical.Making the AI trustworthy, so numbers come from SQL and not from the model. Handling the race between capture and webhook without double-counting a sale. PayPal not supporting INR for an India-focused product. Designing a PostgreSQL schema with composite foreign keys so one business can never touch another's data.
Built With
- anthropicclaudeapi
- css
- docker
- express.js
- github
- html
- javascript
- node.js
- paypaljavascriptapi
- paypalrestapi
- paypalwebhooks
- react
- recharts
- render
- sql
- vite
- zod