@yellowpanther/shared

v1.3.6

Published

Reusable shared utilities for YP microservices (e.g., redis, queue, config)

Readme

@yellowpanther/shared

Reusable shared utilities for Yellow Panther CMS microservices.

Features

  • Redis client setup for BullMQ queues
  • Queue registry for background jobs
  • Config loader (env-based)
  • Common Sequelize DB client
  • Auth utilities (JWT with HttpOnly cookies)
  • Common middleware (logger, error handler)
  • Shared Sequelize models (User, Tag, Category, Language, etc.)
  • Common API routes (Tag, Category, Language)

Usage

Install locally (for development)

npm link