Budget: 26000 UAH Deadline: 14 days
Hello.
The task is extensive but architecturally clear. I have read the requirements for the dashboard, roles, and AI queries.
In response to the question in point 10 (Custom or BI tool): for your task, only a custom frontend is needed. Ready-made BI systems (Looker, PowerBI) build graphs well, but they are very rigidly customizable for specific role systems (traffic lights, personal KPIs for managers) and practically do not allow for adequately embedding a chat with LLM for free queries to the database.
Therefore, my proposal for the stack:
Storage (DB): PostgreSQL. Ideal for a relational structure (deals, payments, users). I work through Prisma ORM for strict typing at the code level, so no data from webhooks is lost.
Backend (ETL): Node.js (Express). The service will accept webhooks from Kommo/Stripe and, via cron (every 15-30 minutes), will pull expenses from the Meta API.
Frontend: Next.js (App Router) + Tailwind CSS + TanStack Query. The dashboard will operate without lags when switching dates due to proper server-side caching.
AI Module: Google Gemini API. A very fast model with a large contextual window for analyzing aggregated data from the database.
Similar projects:
My main profile is Full-Stack development of SaaS products. I built the PropText.ai system, where I connected custom dashboards, Stripe billing, and generation through the Google Gemini API.
Estimated timelines and costs (approximate, subject to clarification):
I tie all calculations to USD for convenience (or equivalent in UAH or EUR).
Stage 1 (Audit, DB architecture, field mapping): ~$200, 3-5 days.
Stage 2 (MVP: DB, webhooks from Kommo, Stripe, Meta, basic UI with roles): ~$800 - $1000, 2-3 weeks.
Stage 3 (Cycles, forecasts, plan/fact): ~$600, 1-1.5 weeks.
Stage 4 (SEO, AI reports, alerts): ~$600, 1.5 weeks.
Stage 5 (New channels): evaluated separately.
Monthly ownership cost (OPEX):
Hosting: Vercel (for frontend) + reliable VPS (for backend and PostgreSQL DB) — will total about $20-30 per month.
AI tokens (Gemini): Depends on the frequency of requests, but for such volumes of analytics, it's pennies, approximately $5-15/month.
Licenses: $0 (the stack is completely open-source).
One question to start: do you currently have UTM tags set up or a hidden field with the deal ID so that Stripe can accurately transmit metadata during payment for linking with Kommo?