miolo-routing

Community

Standard routing patterns for miolo APIs.

Authorafialapis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardized API routing patterns reduce the complexity of wiring endpoints, ensure consistent route organization, and simplify maintenance across miolo applications.

Core Features & Use Cases

  • Route Organization: Routes are organized under src/server/routes by domain/feature with a standard file structure and registration flow.
  • Route Registration Pattern: Single export of default route arrays, with groups containing prefix and routes, and each route specifying method, url, auth, and callback.
  • Creating Route Handlers & Validation: Handlers follow the r_ prefix conventions, access request data, and optionally validate inputs with Joi.
  • Authentication & Security: Supports per-route authentication settings and consistent user context usage.
  • Multi-file Organization & Best Practices: Encourages modular route organization across files and adherence to conventions, logging, and error handling.

Quick Start

Create and wire up a new API route by following the standard miolo routing pattern in src/server/routes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: miolo-routing
Download link: https://github.com/afialapis/miolo/archive/main.zip#miolo-routing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.