express-api-developer

Develop Express.js backend APIs with JWT authentication, RBAC, and ClickHouse queries.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill express-api-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: express-api-developer
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/express-api-developer
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill express-api-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Express API development for Vigil Guard v2.0.0, including JWT authentication, RBAC, ClickHouse integration with 3-branch columns, branch service proxies, and configuration/audit logging support.

Core Features & Use Cases

  • API Endpoint Development: Create new endpoints with proper validation and auth.
  • Auth & RBAC: Implement JWT-based auth and role-based access control.
  • Database & Logging: ClickHouse integration, SQLite storage for users, and audit logging.

Quick Start

Start the backend server in services/web-ui/backend (e.g., npm run dev) and use endpoints like GET /api/health/branches or POST /api/analyze/heuristics for branch testing.

Frequently Asked Questions about express-api-developer

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

FAQPage Schema
How do I build a secure Express API with JWT authentication and role-based access control?

Express API development with JWT authentication implements token-based identity verification and role-based access control by validating credentials, issuing signed tokens, and enforcing permissions on endpoints. This Skill provides patterns for bcrypt password hashing, JWT middleware integration, and RBAC rule enforcement across your API routes.

Can I integrate ClickHouse with my Express backend for analytics and branch data queries?

ClickHouse integration with Express enables columnar analytics queries on branch detection data through dedicated query endpoints. This Skill covers ClickHouse connection setup, 3-branch column handling, query construction, and proxy endpoints that route branch service requests while maintaining authentication and audit logging.

What's the best way to implement audit logging and rate limiting in an Express API?

Audit logging and rate limiting in Express track API request activity and control usage frequency through middleware. This Skill applies middleware-based rate limiting and structured audit log capture to endpoints, recording authentication events, data modifications, and branch service interactions for compliance and monitoring.

How do I set up CORS and health monitoring endpoints in Express for branch service proxies?

CORS and health monitoring enable secure cross-origin requests and service availability checks. This Skill configures CORS policies, implements GET /api/health/branches endpoints for branch status verification, and integrates health checks into proxy endpoints that forward requests to branch services.

Does Express work with TypeScript for type-safe API development with SQLite and ClickHouse?

Express with TypeScript provides compile-time type safety for API handlers, database queries, and payloads. This Skill applies TypeScript typings to route handlers, SQLite user storage queries, and ClickHouse branch data operations, ensuring type consistency across authentication, RBAC, and logging layers.

What configuration management approach works for multi-environment Express backends with branch detection?

Configuration management centralizes environment-specific settings for database connections, authentication secrets, rate limits, and branch service URLs. This Skill structures configuration and audit logging support to handle development, testing, and production environments with modular architecture patterns.