Overview
Hanzo Commerce - Full-stack e-commerce platform with AI-powered recommendations
Hanzo Commerce is a complete e-commerce backend built in Go, providing order management, payment processing, product catalogs, and AI-powered recommendations out of the box.
Features
Order Management
Complete order lifecycle management with status tracking, fulfillment, and returns
Payment Processing
Multi-provider payment support including Stripe, PayPal, and cryptocurrency
Product Catalog
Flexible product management with variants, collections, and inventory tracking
User Accounts
OAuth2-based authentication via Hanzo ID with secure access tokens
Shopping Cart
Persistent carts with coupon support, discounts, and tax calculation
Analytics
ClickHouse-powered analytics with real-time dashboards and reporting
Architecture
Hanzo Commerce follows a modular architecture:
commerce/
├── api/ # HTTP handlers and routes
│ ├── order/ # Order management endpoints
│ ├── cart/ # Shopping cart endpoints
│ ├── auth/ # Authentication endpoints
│ └── transaction/ # Payment transaction endpoints
├── models/ # Data models and business logic
│ ├── order/ # Order model with status management
│ ├── product/ # Product catalog models
│ ├── user/ # User and account models
│ └── payment/ # Payment processing models
├── datastore/ # Database abstraction layer
├── middleware/ # HTTP middleware (auth, logging, etc.)
└── config/ # Environment-specific configurationTech Stack
- Language: Go 1.21+
- Database: Google Cloud Datastore / PostgreSQL
- Analytics: ClickHouse / BigQuery
- Authentication: OAuth2 via Hanzo ID
- Payments: Stripe, PayPal, Authorize.net, Crypto
Learn More
How is this guide?
Last updated on