How mohababugabal/zinati-app works
Zinati Intelligence is a Vue business-intelligence and content-workflow application for eight beauty brands. Users browse competitor posts, map an idea to a brand and optionally create a Boxoit request; they also review portfolio and channel performance, including marketing spend against sales. Request Boxoit supports briefs, uploads, review, approval and go-live, while monthly submissions and provider integrations are additional capabilities. The graph follows the documented routes and sampled store/repository boundaries; individual data-sync behavior is only represented at the documented hook-directory level because most hook sources were not sampled.
Main entry points: index.ts Routes and guards · requests.ts Request state · market.ts Market state · MarketView.vue Market feed
Components 24
Application shell
- Routes and guards
src/router/index.ts - App shell
src/layouts/AppShell.vue - Sign-in
src/stores/auth.ts
Competitor market
- Market feed
src/views/market/MarketView.vue - Post detail
src/views/market/PostDrawer.vue - Market state
src/stores/market.ts - Post presentation
src/components/market/PostCard.vue
Brand intelligence
- Portfolio overview
src/views/brands/BrandsOverview.vue - Brand channels
src/views/brands/BrandDetail.vue - Talk Finance
src/views/brands/TalkFinance.vue - Brand state
src/stores/brands.ts
Content workflow
- Request list
src/views/requests/RequestsView.vue - New brief
src/views/requests/NewRequestDrawer.vue - Request review
src/views/requests/RequestDrawer.vue - Monthly submissions
src/components/requests/MonthlySubmissions.vue - Request state
src/stores/requests.ts
Data and integrations
- Report builder
src/services/reports.ts - PocketBase repositories
src/repositories - PocketBase client
src/services/pocketbase.ts - Provider sync hooks
pocketbase/pb_hooks - PocketBase
Other components
- Zinati user
- Business providers
- Boxoit team
Connections 32
- Zinati user → Routes and guards: navigates
README.md - Routes and guards → App shell: renders
- Routes and guards → Market feed: routes to
src/router/index.ts - Routes and guards → Post detail: routes to
src/router/index.ts - Routes and guards → Portfolio overview: routes to
src/router/index.ts - Routes and guards → Brand channels: routes to
src/router/index.ts - Routes and guards → Talk Finance: routes to
src/router/index.ts - Routes and guards → Request list: routes to
src/router/index.ts - Routes and guards → New brief: routes to
src/router/index.ts - Routes and guards → Request review: routes to
src/router/index.ts - Routes and guards → Sign-in: checks access
src/router/index.ts - Sign-in → PocketBase client: authenticates with
src/stores/auth.ts - Market feed → Market state: loads feed
src/views/market/MarketView.vue - Market feed → Post presentation: renders posts
src/components/market/PostCard.vue - Post detail → Market state: reads post
- Market state → PocketBase repositories: loads and saves
src/stores/market.ts - Market state → Request state: creates request
src/stores/market.ts - Portfolio overview → Brand state: reads portfolio
- Brand channels → Brand state: reads channels
- Talk Finance → Brand state: reads finance
src/views/brands/TalkFinance.vue - Talk Finance → Report builder: presents spend analysis
- Request list → Request state: reads requests
- New brief → Request state: creates brief
- Request review → Request state: reviews submissions
src/views/requests/RequestDrawer.vue - Request review → Post detail: links source post
src/views/requests/RequestDrawer.vue - Monthly submissions → Request state: loads monthly data
src/components/requests/MonthlySubmissions.vue - Request state → PocketBase repositories: persists requests
src/stores/requests.ts - PocketBase repositories → PocketBase client: uses client
src/repositories/requests.ts - PocketBase client → PocketBase: reads and writes
src/services/pocketbase.ts - Provider sync hooks → Business providers: syncs provider data
- Provider sync hooks → PocketBase: updates collections
- Request state → Boxoit team: coordinates content