How cyrildaoust-source/mikado-b2b works
Mikado Devis is a private Shopify-integrated B2B quoting application, alongside a standalone professional tool for architects. The principal workflow is to create and edit a project quote, select a client and products, calculate and validate totals, save and freeze a revision, then export its PDF; a client can review the proposal and record a decision. Other documented capabilities include visual catalog browsing, moodboards, architect accounts and referrals. The graph combines shown source references with README-documented behavior; several quote, decision, and export implementation details were not sampled, so those links cite the README.
Main entry points: app.quotes.$id.tsx Quote route · app.tsx App access · Editor.tsx Quote editor · app.catalogue._index.tsx Catalog browser
Components 26
Access and workspace
- App access
app/routes/app.tsx - Authentication
app/services/auth.server.ts - Dashboard
app/components/dashboard/Dashboard.tsx
Quote workflow
- Quote editor
app/components/Editor.tsx - Quote route
app/routes/app.quotes.$id.tsx - Quote calculations
app/domain/quote.ts - Quote operations
app/services/quotes.server.ts - Billing terms
app/domain/billing.ts - Quote PDF
app/services/pdf.server.ts
Catalog and design
- Catalog browser
app/routes/app.catalogue._index.tsx - Product details
app/routes/app.catalogue.$id.tsx - Catalog service
app/services/catalog.server.ts - Catalog quoting
app/services/catalog-quote.server.ts - Finish picker
app/components/catalog/FinishPicker.tsx - Moodboard editor
app/components/moodboard/MoodBoardEditor.tsx - Moodboard service
app/services/moodboard.server.ts
Shopify and persistence
- Application database
app/db.server.ts - Shopify API
app/services/shopify-api.server.ts
Client and architect tools
- Client proposal
app/components/ClientProposal.tsx - Client decisions
app/services/decision.server.ts - Referrals
app/services/referral.server.ts - Architect accounts
app/routes/app.utilisateurs.tsx - Dashboard data
app/services/dashboard.server.ts
Other components
- Architect
- Client
- Shopify
Connections 25
- Architect → App access: opens workspace
README.md - App access → Authentication: authenticates
- Architect → Quote editor: creates quote
README.md - Quote editor → Quote route: edits quote
- Quote route → Quote operations: saves quote
- Quote operations → Quote calculations: calculates totals
- Quote route → Application database: persists revisions
README.md - Quote editor → Billing terms: sets payment terms
README.md - Quote route → Quote PDF: exports revision
README.md - Client → Client proposal: reviews proposal
README.md - Client proposal → Client decisions: submits choice
- Architect → Catalog browser: browses products
README.md - Catalog browser → Catalog service: loads catalog
app/routes/app.catalogue._index.tsx - Catalog service → Shopify API: queries products
app/services/catalog.server.ts - Shopify API → Shopify: calls Admin API
app/services/shopify-api.server.ts - Catalog service → Application database: reads local data
app/services/catalog.server.ts - Catalog browser → Catalog quoting: adds products
app/routes/app.catalogue._index.tsx - Product details → Finish picker: renders picker
app/routes/app.catalogue.$id.tsx - Architect → Moodboard editor: creates moodboard
README.md - Moodboard editor → Moodboard service: saves board
- Architect → Referrals: manages referrals
README.md - App access → Dashboard: shows dashboard
- Dashboard → Dashboard data: loads summaries
app/components/dashboard/Dashboard.tsx - Architect → Architect accounts: administers accounts
README.md - Authentication → Application database: reads users
app/services/auth.server.ts