Backend API Design

•
78
•

Standardizes the creation of RPC-style backend APIs using a clean, layered architecture pattern.

This skill provides a structured framework for designing robust, RPC-style APIs following a strict Controller-Manager-Repository pattern. It enforces specific URL naming conventions, mandates the use of query parameters over path variables, and ensures business logic is isolated within manager layers using functional error handling. It is ideal for developers building Micronaut-based Kotlin backends who want to maintain high consistency, scalability, and maintainability across their entire API surface.

主な機能

01Provides standardized URL patterns for resource management and collection queries
0278 GitHub stars
03Optimizes data access with primary/replica database routing and soft-delete support
04Enforces RPC-style API patterns using explicit verb sub-paths for mutations
05Implements a strict three-tier architecture: Controller, Manager, and Repository
06Handles functional error management using Either types to avoid side-effect exceptions

ユースケース

01Refactoring legacy backend code into a clean, layered architectural structure
02Reviewing existing API contracts to ensure compliance with RPC-style best practices
03Designing new API endpoints with consistent naming and parameter conventions