Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 751 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 751 Bytes

NestJS PDF Export with BullMQ

Description

A NestJS application demonstrating PDF export functionality using BullMQ for job processing. The application manages cat records and can generate PDF reports. No external database is needed.

Features

  • PDF export functionality using Puppeteer
  • Queue-based job processing with BullMQ
  • Handlebars templating for PDF generation

Installation

npm install

Running the app

  1. Start Redis:
npm run start:docker
  1. Run the application:
# development
npm run start:dev

# production mode
npm run start:prod

API Endpoints

  • GET /cats - Get all cats
  • POST /cats - Create a new cat
  • POST /cats/export - Export selected cats to PDF public folder.