adonisjs-services

Community

Manage external APIs with a driver pattern.

Authoromakei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a clean architecture pattern for integrating external services in AdonisJS by wrapping APIs behind a manager/driver contract, enabling easy driver swapping and test-friendly null drivers.

Core Features & Use Cases

  • Manager/driver abstraction to wrap third-party APIs behind a single contract.
  • Multiple drivers (e.g., Stripe, Null driver) with runtime selection and IoC registration.
  • Deterministic testing via a null driver and test utilities, plus container-based behavior swapping for edge cases.
  • Safe, bounded driver caching within the manager to avoid leaks and ensure predictable memory usage.
  • Easy extension to add new providers with a minimal driver contract and central config.

Quick Start

Configure the test environment to use the null driver by setting PAYMENT_DRIVER=null.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: adonisjs-services
Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-services

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 471,000+ vetted skills library on demand.