Skip to content
Kishor Naik edited this page Oct 6, 2025 · 11 revisions

🏠 Welcome to the Boilerplate Wiki

This boilerplate is designed to help you hit the ground running when building RESTful APIs using Express.js, TypeScript, and TSOA β€” all wrapped in a modular, scalable architecture. Whether you're launching a new service or standardizing API development across projects, this starter kit gives you a solid foundation built for velocity, safety, and developer experience.


πŸš€ Core Highlights

  • Express.js for flexible, battle-tested HTTP handling
  • Type-safe routing powered by TSOA
  • Modular architecture that promotes clarity and maintainability
  • Pre-configured middlewares for logging, error handling, security, and validation
  • Integrated logger and Swagger/OpenAPI documentation out of the box

🧡 Background & Messaging Support

This boilerplate includes ready-to-use support for common background workflows:

  • 🧡 BullMQ – Redis-backed job queues
  • ⏰ Cron Jobs – Time-based task scheduling
  • πŸ”„ Kafka – Distributed event streaming
  • πŸ“¨ RabbitMQ – Message brokering for decoupled services
  • πŸ“‘ Pusher – Real-time messaging and push notifications
  • 🧠 In-memory Event Dispatcher – Lightweight pub-sub flows Each worker runs independently and can be deployed separately using Docker or PM2.

πŸ› οΈ Developer Tooling

To streamline development and enforce quality, the boilerplate includes:

  • ⚑ SWC – Lightning-fast Rust-based TypeScript compiler
  • πŸ” ESLint – Code linting and style enforcement
  • ✨ Prettier – Automatic code formatting
  • 🐢 Husky – Git hooks for pre-commit checks
  • πŸ” PM2 – Production-grade process manager
  • πŸ§ͺ Devcontainer support for VS Code
  • 🐳 Docker base images for dev and prod environments It also integrates with custom open-source NPM utilities to simplify common tasks and enhance developer experience.

πŸ“š Documentation Index

πŸš€ Core: Bootstrap & Configuration Guide

πŸ” Security Guide

  • πŸ›‘οΈ AES Encryption & Decryption Guide Implement secure request/response encryption using AES wrappers and DTO validation.
  • πŸ” JWT Auth Security Guide Authenticate users and protect routes using token-based security with HS256/RS256 strategies, role-based access control, and structured claim validation.
  • πŸ” HMAC Auth Security Guide Validate request integrity using per-user HMAC signatures, timestamp-based expiry, and dynamic key resolution via client ID.

🧡 Worker Guide

βš™οΈ General Utilities Guide

Clone this wiki locally