b2b-starter-medusa
Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
Language: typescript
Author: Nathan Ryan (@nathan_ryan)
18 stars · 250 views
Files
- workflows (txt)
- format-amount.ts (ts)
- index.ts (ts)
- tsconfig.json (json)
- hooks (txt)
- create-quote.ts (ts)
- service.ts (ts)
- migrations (txt)
- update-order.ts (ts)
- steps (txt)
- backend (txt)
- .vscode (vscode)
- settings.json (json)
- static (txt)
- 1727793843409-lenovo-thinkpad-l15-g4-core-i5-16gb-512gb-156 (1).webp (image)
- 1727342179452-lenovo-thinkpad-p1-g7-core-ultra-9-64gb-2000gb-rtx-4070-16 1.png (image)
- 1727793843409-lenovo-thinkpad-l15-g4-core-i5-16gb-512gb-156 (3).webp (image)
- 1727793843409-lenovo-thinkpad-l15-g4-core-i5-16gb-512gb-156.webp (image)
- 1727342055013-watch-compare-ultra2-202409 1.png (image)
- 1727342139821-google-pixel-9-pro-xl-128gb-obsidian 1.png (image)
- 1727341955892-airpods-max-compare-202409 1.png (image)
- 1727793843409-lenovo-thinkpad-l15-g4-core-i5-16gb-512gb-156 (2).webp (image)
- 1727793843409-laptop-2.webp (image)
- 1727793843408-laptop-1.webp (image)
- tsconfig.json (json)
- README.md (md)
- companies (txt)
- package.json (json)
- .yarnrc.yml (yml)
- medusa-config.ts (ts)
- integration-tests (txt)
- utils (txt)
- seeder.ts (ts)
- store.ts (ts)
- admin.ts (ts)
- http (txt)
- workflows (txt)
- companies.spec.ts (ts)
- quotes (txt)
- quotes.spec.ts (ts)
- admin (txt)
- quotes (txt)
- quotes.spec.ts (ts)
- setup.js (js)
- tailwind.config.js (js)
- jest.config.js (js)
- src (txt)
- jobs (txt)
- README.md (md)
- links (txt)
- company-customer-group.ts (ts)
- quote-links.ts (ts)
- README.md (md)
- cart-approval-status.ts (ts)
- order-company.ts (ts)
- company-approval-setting.ts (ts)
- company-carts.ts (ts)
- cart-approvals.ts (ts)
- employee-customer.ts (ts)
- utils (txt)
- get-cart-approval-status.ts (ts)
- check-spending-limit.ts (ts)
- workflows (txt)
- order (txt)
- update-order.ts (ts)
- quote (txt)
- workflows (txt)
- customer-reject-quote.ts (ts)
- update-quote.ts (ts)
- create-quote-message.ts (ts)
- customer-accept-quote.ts (ts)
- merchant-reject-quote.ts (ts)
- create-request-for-quote.ts (ts)
- merchant-send-quote.ts (ts)
- index.ts (ts)
- steps (txt)
- update-quotes.ts (ts)
- validate-quote-acceptance.ts (ts)
- create-quote-message.ts (ts)
- validate-quote-rejection.ts (ts)
- create-quotes.ts (ts)
- README.md (md)
- approval (txt)
- workflows (txt)
- update-approval-settings.ts (ts)
- create-approval-settings.ts (ts)
- create-approvals.ts (ts)
- update-approval.ts (ts)
- index.ts (ts)
- steps (txt)
- order-created.ts (ts)
- create-approval-status.ts (ts)
- update-approval-statuses.ts (ts)
- update-approval-settings.ts (ts)
- create-approval-settings.ts (ts)
- delete-approvals.ts (ts)
- delete-approval-settings.ts (ts)
- company (txt)
- create-approvals.ts (ts)
- update-approval.ts (ts)
- index.ts (ts)
- hooks (txt)
- validate-update-cart.ts (ts)
- validate-cart-completion.ts (ts)
- cart-created.ts (ts)
- validate-add-to-cart.ts (ts)
- remove-company-from-customer-group.ts (ts)
- delete-companies.ts (ts)
- create-companies.ts (ts)
- update-companies.ts (ts)
- add-company-to-customer-group.ts (ts)
- index.ts (ts)
- steps (txt)
- remove-company-employees-from-customer-group.ts (ts)
- add-company-employees-to-customer-group.ts (ts)
- delete-companies.ts (ts)
- create-companies.ts (ts)
- update-companies.ts (ts)
- index.ts (ts)
- employee (txt)
- workflows (txt)
- update-employees.ts (ts)
- delete-employees.ts (ts)
- create-employees.ts (ts)
- index.ts (ts)
- steps (txt)
- Migration20241001085304.ts (ts)
- update-employees.ts (ts)
- add-employee-to-customer-group.ts (ts)
- link-employee-to-customer.ts (ts)
- delete-employees.ts (ts)
- remove-admin-role.ts (ts)
- .snapshot-b2b-debug.json (json)
- create-employees.ts (ts)
- set-admin-role.ts (ts)
- index.ts (ts)
- modules (txt)
- quote (txt)
- models (txt)
- quote.ts (ts)
- message.ts (ts)
- index.ts (ts)
- service.ts (ts)
- migrations (txt)
- .snapshot-b2b-debug.json (json)
- Migration20250130105122.ts (ts)
- query.ts (ts)
- Migration20241010104109.ts (ts)
- .snapshot-medusa-backend.json (json)
- Migration20250107125203.ts (ts)
- index.ts (ts)
- README.md (md)
- approval (txt)
- models (txt)
- approval-status.ts (ts)
- approval.ts (ts)
- approval-settings.ts (ts)
- index.ts (ts)
- index.ts (ts)
- admin (txt)
- Migration20250113133737.ts (ts)
- Migration20250115144941.ts (ts)
- Migration20250108113324.ts (ts)
- Migration20250107125144.ts (ts)
- index.ts (ts)
- company (txt)
- models (txt)
- employee.ts (ts)
- company.ts (ts)
- index.ts (ts)
- service.ts (ts)
- types (txt)
- mutations.ts (ts)
- common.ts (ts)
- migrations (txt)
- .snapshot-b2b-debug.json (json)
- Migration20240930144912.ts (ts)
- Migration20241014114520.ts (ts)
- .snapshot-medusa-backend.json (json)
- Migration20250107125154.ts (ts)
- index.ts (ts)
- scripts (txt)
- seed.ts (ts)
- README.md (md)
- utils (txt)
- create-approval-settings.ts (ts)
- types (txt)
- shipping-options (txt)
- index.ts (ts)
- http.ts (ts)
- quote (txt)
- service.ts (ts)
- query.ts (ts)
- module.ts (ts)
- index.ts (ts)
- http.ts (ts)
- approval (txt)
- service.ts (ts)
- module.ts (ts)
- index.ts (ts)
- http.ts (ts)
- company (txt)
- service.ts (ts)
- query.ts (ts)
- module.ts (ts)
- index.ts (ts)
- http.ts (ts)
- currency-symbol-map.ts (ts)
- index.ts (ts)
- lib (txt)
- client.ts (ts)
- query-key-factory.ts (ts)
- routes (txt)
- approvals (txt)
- page.tsx (tsx)
- components (txt)
- approvals-items-popover.tsx (tsx)
- table (txt)
- filters.tsx (tsx)
- query.tsx (tsx)
- columns.tsx (tsx)
- approval-actions.tsx (tsx)
- approvals-table.tsx (tsx)
- companies (txt)
- [companyId] (txt)
- page.tsx (tsx)
- page.tsx (tsx)
- components (txt)
- company-approval-settings-drawer.tsx (tsx)
- company-create-drawer.tsx (tsx)
- use-query-params.tsx (tsx)
- company-actions-menu.tsx (tsx)
- company-form.tsx (tsx)
- employees (txt)
- employees-update-form.tsx (tsx)
- employees-create-form.tsx (tsx)
- employees-update-drawer.tsx (tsx)
- employees-create-drawer.tsx (tsx)
- employees-actions-menu.tsx (tsx)
- index.ts (ts)
- company-customer-group-drawer.tsx (tsx)
- company-update-drawer.tsx (tsx)
- quotes (txt)
- [quoteId] (txt)
- manage (txt)
- page.tsx (tsx)
- page.tsx (tsx)
- page.tsx (tsx)
- components (txt)
- regions.tsx (tsx)
- quotes-table.tsx (tsx)
- quote-status-badge.tsx (tsx)
- table (txt)
- filters.tsx (tsx)
- query.tsx (tsx)
- columns.tsx (tsx)
- quote-details (txt)
- quote-total.tsx (tsx)
- index.tsx (tsx)
- api (txt)
- quote-details-header.tsx (tsx)
- quote-cost-breakdown.tsx (tsx)
- index.tsx (tsx)
- quote-items.tsx (tsx)
- quote-messages.tsx (tsx)
- index.ts (ts)
- quote-manage (txt)
- manage-item.tsx (tsx)
- use-data-table.tsx (tsx)
- manage-quote-form.tsx (tsx)
- manage-items-table.tsx (tsx)
- table (txt)
- filters.tsx (tsx)
- query.tsx (tsx)
- index.ts (ts)
- columns.tsx (tsx)
- manage-items-section.tsx (tsx)
- index.ts (ts)
- README.md (md)
- employees.tsx (tsx)
- approvals.tsx (tsx)
- regions.tsx (tsx)
- order-preview.tsx (tsx)
- companies.tsx (tsx)
- customers.tsx (tsx)
- index.ts (ts)
- index.ts (ts)
- subscribers (txt)
- quotes.tsx (tsx)
- variants.tsx (tsx)
- components (txt)
- common (txt)
- action-menu.tsx (tsx)
- json-view-section.tsx (tsx)
- filtering (txt)
- filter-group.tsx (tsx)
- index.ts (ts)
- cool-switch.tsx (tsx)
- thumbnail.tsx (tsx)
- form (txt)
- form.tsx (tsx)
- index.ts (ts)
- modals (txt)
- route-focus-modal (txt)
- use-stacked-modal.tsx (tsx)
- stacked-modal-provider.tsx (tsx)
- route-modal-context.tsx (tsx)
- use-route-modal.tsx (tsx)
- stacked-modal-context.tsx (tsx)
- route-focus-modal.tsx (tsx)
- route-modal-form.tsx (tsx)
- index.ts (ts)
- stacked-focus-modal.tsx (tsx)
- route-modal-provider.tsx (tsx)
- table (txt)
- table-cells (txt)
- placeholder-cell.tsx (tsx)
- amount-cell.tsx (tsx)
- product-cell.tsx (tsx)
- date-cell.tsx (tsx)
- text-cell.tsx (tsx)
- index.ts (ts)
- data-table (txt)
- data-table-root.tsx (tsx)
- data-table-query.tsx (tsx)
- index.tsx (tsx)
- hooks.tsx (tsx)
- data-table.tsx (tsx)
- data-table-filter (txt)
- context.tsx (tsx)
- string-filter.tsx (tsx)
- filter-chip.tsx (tsx)
- select-filter.tsx (tsx)
- data-table-filter.tsx (tsx)
- types.ts (ts)
- number-filter.tsx (tsx)
- index.ts (ts)
- empty-state.tsx (tsx)
- index.ts (ts)
- skeleton (txt)
- skeleton.tsx (tsx)
- index.ts (ts)
- index.ts (ts)
- delete-prompt.tsx (tsx)
- README.md (md)
- api (txt)
- middlewares (txt)
- ensure-role.ts (ts)
- README.md (md)
- middlewares.ts (ts)
- store (txt)
- approvals (txt)
- [id] (txt)
- route.ts (ts)
- route.ts (ts)
- middlewares.ts (ts)
- validators.ts (ts)
- query-config.ts (ts)
- companies (txt)
- [id] (txt)
- route.ts (ts)
- employees (txt)
- route.ts (ts)
- route.ts (ts)
- [employeeId] (txt)
- route.ts (ts)
- approval-settings (txt)
- route.ts (ts)
- route.ts (ts)
- middlewares.ts (ts)
- validators.ts (ts)
- query-config.ts (ts)
- middlewares.ts (ts)
- quotes (txt)
- [id] (txt)
- route.ts (ts)
- accept (txt)
- route.ts (ts)
- messages (txt)
- route.ts (ts)
- reject (txt)
- route.ts (ts)
- preview (txt)
- route.ts (ts)
- middlewares.ts (ts)
- validators.ts (ts)
- query-config.ts (ts)
- carts (txt)
- [id] (txt)
- approvals (txt)
- route.ts (ts)
- line-items (txt)
- bulk (txt)
- route.ts (ts)
- middlewares.ts (ts)
- validators.ts (ts)
- query-config.ts (ts)
- free-shipping (txt)
- middlewares.ts (ts)
- validators.ts (ts)
- ATTRIBUTION.md (markdown)