Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Artisan Commerce

A transparent, capacity-managed platform for made-to-order artisan crafts

CI License: GPL v3


What Is It?

Artisan Commerce is a open-source platform for artisan e-commerce with queue-based capacity management that brings transparency to handmade production. Unlike traditional e-commerce platforms, it manages finite production capacity through a queue-based system, giving customers realistic delivery estimates and artisans control over their workload. The platform supports crochet, knitting, cross stitch, embroidery, and sewn goods, along with digital pattern sales.

Web-based platform with mobile-responsive design - accessible from any device without native apps.

Core Principles: Cheap, Convenient, Secure, Portable

Technology Stack

Built on a modern serverless edge architecture optimized for cost, portability, and AI-assisted development:

  • Frontend: SvelteKit (TypeScript) deployed to Cloudflare Pages
  • Backend: Hono on Cloudflare Workers (serverless functions at the edge)
  • Database: Drizzle ORM + Cloudflare D1 (distributed SQLite)
  • File Storage: Cloudflare R2 (S3-compatible object storage)
  • Infrastructure: Terraform (Infrastructure as Code)
  • CI/CD: GitHub Actions with SLSA Level 3 provenance
  • Testing: TDD with Vitest + Playwright (85%+ coverage target)
  • Package Manager: mise-managed dependencies with comprehensive adapter pattern

Monthly Cost: ~$1-5 (domain + transaction fees) - everything else runs on free tiers.

Key Features:

  • Zero vendor lock-in (comprehensive adapter pattern for all external services)
  • Single-tenant-per-instance (one artisan business per deployment)
  • Simple, maintainable tech stack (prioritizing clarity over complexity)
  • SLSA Level 3 supply chain security
  • 12-Factor App compliant

See ADR-002 for detailed technology decisions.

Quick Start

# Clone the repository
git clone https://github.com/funkybooboo/artisan-commerce.git
cd artisan-commerce

# Install dependencies and setup
mise run setup

# Copy environment template
cp .env.example .env

# Start development servers
mise run dev

The app will be available at:

Next Steps:

Documentation

Introduction What this project is and the values behind it
Getting Started Setup, configuration, and your first run
Architecture How the project is structured and why
Code Standards Naming, style, and enforcement
Testing Philosophy, strategy, and how to run tests
Contributing How to get involved
Git Workflow Branching, commits, and pull requests
Design Patterns Patterns used in this project and when to apply them
Feature Development End-to-end process from idea to production
Documentation Standards How to write and maintain docs
Architecture Decisions Summary Quick reference for all decisions

Contributing

Contributions are welcome. See Contributing Guide to get started.

License

GPL-3.0

Note: This project uses GPL-3.0. If you plan to offer this as a hosted service (SaaS), consider that GPL-3.0 does not require sharing modifications for hosted services. If you want stronger copyleft for SaaS deployments, consider switching to AGPL-3.0.

About

A transparent, capacity-managed platform for made-to-order artisan crafts

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Generated from funkybooboo/template