How colelundstrom/printshopcrm works
PrintShopCRM is a self-hosted shop-management CRM for print decorators. The main workflow runs from customer and estimate management through production, art approval, invoicing, and job profitability; the README explicitly documents estimate-to-job conversion and approval-gated scheduling. The graph also preserves sales pipeline, pricing matrices, purchasing, capacity, shipping, and payment capabilities. Several backend modules are listed but not excerpted, so their internal call relationships are omitted rather than inferred.
Main entry points: estimates.js Estimates · board.js Production board · app.js Shop application · invoices.js Invoices & payments
Components 21
Sales & CRM
- Customers & CRM
public/js/views/contacts.js - Estimates
public/js/views/estimates.js - Sales pipeline
lib/pipeline.mjs - Command search
public/js/views/search.js
Pricing & Finance
- Quote calculator
public/js/views/quote.js - Price matrices
public/js/views/matrices.js - Shared pricing logic
public/js/shared/pricing.js - Invoices & payments
public/js/views/invoices.js - Job costing
lib/costing.mjs
Production & Fulfillment
- Production board
public/js/views/board.js - Art & prepress
public/js/art-production.js - Capacity planning
public/js/views/capacity.js - Production calendar
lib/production-calendar.mjs - Shipping & tracking
lib/shipping.mjs - Supplier purchasing
lib/suppliers.mjs
Application Platform
- Shop application
public/js/app.js - Browser core
public/js/core.js - Shop database
lib/db.mjs
External Services
- Stripe checkout
lib/stripe.mjs - Authorize.net checkout
lib/authorizenet.mjs
Other components
- Shop staff
Connections 23
- Shop staff → Shop application: manages shop
README.md - Shop application → Browser core: routes views
public/js/app.js - Shop application → Customers & CRM: opens CRM
public/js/app.js - Shop application → Estimates: opens estimates
public/js/app.js - Shop application → Sales pipeline: opens pipeline
README.md - Estimates → Quote calculator: prices quotes
public/js/views/estimates.js - Estimates → Price matrices: selects matrix
public/js/views/estimates.js - Estimates → Shared pricing logic: calculates totals
public/js/views/estimates.js - Estimates → Production board: converts to job
README.md - Estimates → Sales pipeline: syncs opportunity
lib/pipeline.mjs - Production board → Art & prepress: manages proofs
public/js/views/board.js - Art & prepress → Production calendar: reschedules approval
README.md - Production board → Capacity planning: checks schedule
README.md - Production board → Shipping & tracking: tracks parcels
README.md - Production board → Supplier purchasing: checks purchase orders
- Production board → Invoices & payments: supports job billing
- Invoices & payments → Stripe checkout: offers hosted checkout
README.md - Invoices & payments → Authorize.net checkout: offers hosted checkout
README.md - Production board → Job costing: feeds job profitability
README.md - Customers & CRM → Shop database: stores shop records
- Estimates → Shop database: stores estimates
- Job costing → Shop database: reads job data
lib/costing.mjs - Command search → Shop application: navigates commands
public/js/views/search.js