backend-developer

Implement backend API features using Webiny architecture and GraphQL schemas.

8.0k|673|Updated Jan 9, 2018
One-click install
npx skills add https://github.com/webiny/webiny-js --skill backend-developer-webiny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-developer
Source: https://github.com/webiny/webiny-js/tree/main/.claude/skills/backend-developer
Command: npx skills add https://github.com/webiny/webiny-js --skill backend-developer-webiny

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and best practices for implementing backend API features within the Webiny framework, ensuring consistency, scalability, and maintainability.

Core Features & Use Cases

  • Architecture Guidance: Understand the layered architecture (Extension, Feature, UseCase, Repository) and folder structure.
  • DI & Abstractions: Learn how to define and use abstractions for dependency injection and type safety.
  • CMS Integration: Implement persistence using Webiny's Headless CMS.
  • GraphQL Schemas: Define and implement GraphQL queries and mutations.
  • Domain Events: Implement event publishing and handling for decoupled communication.
  • Use Case: A developer needs to add a new feature to manage user profiles. They consult this Skill to understand how to structure the API endpoints, define data models, handle persistence, and integrate with existing authentication mechanisms.

Quick Start

Refer to the SKILL.md file for detailed architectural patterns and implementation examples.

Frequently Asked Questions about backend-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a new backend API feature using Webiny's architecture?

Webiny structures backend API features using a layered architecture comprising Extension, Feature, UseCase, and Repository layers, organizing code within packages/*/src/api/ or packages/api-* directories for maintainable domain-driven design.

How do I implement GraphQL schemas and mutations in a Webiny backend?

Implementing GraphQL schemas in Webiny involves defining queries and mutations within the API layer, guided by best practices for type safety and dependency injection to ensure scalable backend communication.

What is the best way to handle persistence using Webiny Headless CMS in a backend API?

Handling persistence with Webiny Headless CMS involves defining CMS data models and utilizing repository abstractions within the API layer to manage data storage and retrieval efficiently.

How do I set up dependency injection and abstractions for a Webiny backend API?

Setting up dependency injection involves defining abstractions for type safety and wiring them through the DI container, allowing decoupled communication and easier testing of use cases and repositories.

Why use domain events in Webiny backend development?

Domain events in Webiny backend development enable decoupled communication by publishing and handling events, ensuring that features remain scalable and maintainable without tight coupling between components.