solidstart-api-routes

Community

Build robust API endpoints with SolidStart.

Authorvallafederico
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the creation and management of API routes within SolidStart applications, enabling developers to handle various HTTP methods and integrate with advanced features like GraphQL and tRPC.

Core Features & Use Cases

  • HTTP Method Handling: Define GET, POST, PATCH, DELETE functions for API endpoints.
  • APIEvent Object: Access request, params, and internal fetch within API handlers.
  • Integration: Seamlessly integrate GraphQL and tRPC for complex API interactions.
  • Session Management: Securely manage user sessions using cookies.
  • Use Case: Develop a backend for a SolidStart application that handles user authentication, data mutations, and serves data via a GraphQL endpoint.

Quick Start

Create a new API route at routes/api/items.ts that exports a GET function to fetch items.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: solidstart-api-routes
Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solidstart-api-routes

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.