@nicnocquee/dataqueue
v1.35.0
Published
PostgreSQL or Redis-backed job queue for Node.js applications with support for serverless environments
Maintainers
Readme
DataQueue
A lightweight job queue backed by PostgreSQL or Redis.
Installation
npm install @nicnocquee/dataqueueTesting
First, run the following command to start the PostgreSQL and Redis containers:
docker-compose upThen, run the tests:
pnpm run testFor E2E tests, run the following command:
# First time: create DB and run migrations
PGPASSWORD=postgres psql -h localhost -U postgres -d postgres -c "CREATE DATABASE e2e_test;"
cd apps/e2e && PG_DATAQUEUE_DATABASE=postgres://postgres:postgres@localhost:5432/e2e_test pnpm run migrate-dataqueue
# Run tests
pnpm test:e2eLicense
MIT
