backend-tech-stack

Explain Drumr backend stack conventions and troubleshooting patterns for TypeScript, Node.js, GraphQL, Express, Apollo Server, Pothos, TypeORM, class-validator, class-transformer, CASL, DBOS, Winston, Jest, and Faker.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-tech-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-tech-stack
Source: https://github.com/slingr-stack/qa-test-drumr/tree/main/project-management-app/.agents/skills/backend-tech-stack
Command: npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-tech-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand and troubleshoot the Drumr backend technology stack so you can make better implementation decisions, interpret framework behavior correctly, and avoid using low-level libraries the wrong way.

Core Features & Use Cases

  • Stack Awareness: Maps the framework’s backend technologies, including API, datasource, validation, authorization, workflow, logging, and testing tools.
  • Troubleshooting Guidance: Helps diagnose issues by pointing you to the right underlying system, such as class-validator for payload errors or CASL for permission problems.
  • Use Case: If a backend action is failing, this Skill helps you identify whether the issue belongs to GraphQL, TypeORM, workflow execution, or logging configuration before you change code.

Quick Start

Ask for help diagnosing a Drumr backend issue and describe the failing area, such as validation, authorization, database access, workflow execution, or logging.

Frequently Asked Questions about backend-tech-stack

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

FAQPage Schema
How do I troubleshoot a failing GraphQL API request in a Node.js backend?

Troubleshoot GraphQL API requests by checking Apollo Server and Pothos schema definitions first. If the error involves data fetching, inspect TypeORM datasource configurations to see if the database query failed before reaching the GraphQL resolver layer.

Why does class-validator reject my API payload in TypeScript?

Class-validator rejects API payloads when validation decorators are missing or mismatched with your TypeScript types. Ensure your input objects use class-transformer to properly instantiate the validation classes before the data hits your business logic.

How do I diagnose CASL permission issues in my backend application?

Diagnose CASL permission issues by verifying your authorization rules match the user roles defined in your backend app. Check if the CASL ability definitions are correctly injected into the workflow execution context to enforce accurate access control.

What is the best way to debug TypeORM database access errors in a Node.js stack?

Debug TypeORM database access errors by examining your entity mappings and datasource configuration. Review the generated SQL queries in your logging output to identify if the issue stems from an invalid schema relationship or a failed transaction.

Why is my backend workflow execution failing despite correct API inputs?

Backend workflow execution can fail despite correct API inputs if DBOS workflow state is corrupted or if Winston logging configurations mask internal errors. Trace the workflow execution path to pinpoint where the transaction fails outside the API validation layer.

How do I set up Jest and Faker for testing GraphQL resolvers in TypeScript?

Set up Jest and Faker for testing GraphQL resolvers by mocking your TypeORM datasource and generating fake payload objects with Faker. Ensure your Jest configuration correctly compiles TypeScript and resolves Apollo Server context dependencies before executing tests.