Skip to main content

Middleware Platform

The Middleware Platform (repository: certilock-storage) is a Laravel 11 application that acts as the central nervous system connecting the Scottsdale Mint ecosystem. It exposes APIs, ingests webhooks, and orchestrates automated price synchronisation across all customer-facing storefronts.


What Does This Platform Do?

CapabilityDescription
CertiLock Image APIServes signed product-sealing images stored in AWS S3, keyed by serial number
Shipping DashboardFilament admin page that visualises ShipStation shipping data in real time
NFusion Pricing SyncPulls live precious-metals spot prices from nFusion and distributes them to WooCommerce, Algolia, and HTTP targets
ShipStation WebhooksIngests ORDER_NOTIFY and SHIP_NOTIFY events, storing order/shipment data locally
WooCommerce WebhookReceives product-update events from the Retail and Dealers WooCommerce sites to keep the local products table current

Technology Stack

LayerTechnology
FrameworkLaravel 11 (PHP 8.3+)
Admin PanelFilament v3
QueueLaravel Queues (Redis or Database driver)
StorageAWS S3 (certilock-storage bucket)
DatabaseMySQL / MariaDB
HostingLaravel Vapor (AWS Lambda) or local Herd / Sail
Package ManagerComposer (PSR-4 autoloading)

Repository Structure

certilock-storage/
├── app/
│ ├── Console/ # Artisan commands
│ ├── Filament/ # Admin panel pages, resources, actions
│ ├── Http/Controllers/ # ImageAPI, ShipStation & WooCommerce webhooks
│ ├── Jobs/ # NFusionSyncTenantPricesJob
│ ├── Models/ # Eloquent models
│ ├── Services/ # NFusionService, PriceSyncService, ShipStationService
│ └── SyncTargets/ # Algolia, HTTP, WooCommerce sync providers
├── config/ # App config, nfusion.php, sync-targets.php etc.
├── database/ # Migrations, factories, seeders
├── docs/ # This Docusaurus documentation site
├── routes/
│ ├── api.php # Public API routes (image, webhooks)
│ └── web.php
└── vapor.yml # Laravel Vapor deployment configuration

Quick Navigation