Installation
Before you begin, make sure you have Node.js and TypeScript installed in your environment.
PostgreSQL Backend
If you're using PostgreSQL as your backend, you need a Postgres database. Install the required libraries:
npm install @nicnocquee/dataqueue
npm install -D node-pg-migrate ts-nodepnpm add @nicnocquee/dataqueue
pnpm add -D node-pg-migrate ts-nodeyarn add @nicnocquee/dataqueue
yarn add --dev node-pg-migrate ts-nodebun add @nicnocquee/dataqueue
bun add --dev node-pg-migrate ts-nodeYou need to install node-pg-migrate and ts-node as development dependencies to run database migrations.
Redis Backend
If you're using Redis as your backend, you need a Redis server (v6+). Install the required libraries:
npm install @nicnocquee/dataqueue ioredispnpm add @nicnocquee/dataqueue ioredisyarn add @nicnocquee/dataqueue ioredisbun add @nicnocquee/dataqueue ioredisThe ioredis package is an optional peer dependency. You only need to install
it if you choose Redis as your backend. No database migrations are required
for Redis.