Skip to content

docs: comprehensive developer environment documentation for self-service onboarding#935

Open
JemimahEkong wants to merge 2 commits into
rinafcode:mainfrom
JemimahEkong:docs/dev-environment-setup
Open

docs: comprehensive developer environment documentation for self-service onboarding#935
JemimahEkong wants to merge 2 commits into
rinafcode:mainfrom
JemimahEkong:docs/dev-environment-setup

Conversation

@JemimahEkong

Copy link
Copy Markdown

Problem

New developers struggle with project setup due to missing and unclear documentation. Onboarding currently requires external guidance, which increases setup time and creates unnecessary dependency on existing team members.

Solution

This PR introduces a complete overhaul of developer environment documentation and onboarding tooling, making the setup process fully self-service.

A new developer can now set up and verify the entire project in 15–30 minutes without external assistance.

Changes

New Files

File Purpose
docker-compose.yml Root-level development environment setup. Enables full stack startup (Postgres, Redis, App) via docker compose up.
docs/setup.md Step-by-step onboarding guide covering prerequisites, environment configuration, database setup, Redis, and local server startup.
docs/troubleshooting.md Comprehensive troubleshooting guide covering 7 common issue categories with causes, fixes, and example commands.
docs/runbook.md Developer runbook with command-driven workflows for common operational tasks and scenarios.
scripts/verify-setup.js Automated setup verification script (pnpm verify) that validates Node version, environment configuration, database, Redis, and health endpoint.

Modified Files

File Changes
README.md Added quick start section, prerequisites table, onboarding documentation links, video tutorial placeholder, and updated setup instructions. Migrated commands to pnpm.
docs/migrations.md Fully rewritten to reflect TypeORM migration flow. Added guidance on migrations vs synchronization, seed data setup, and common failure scenarios.
package.json Added pnpm verify script for automated environment validation.

Onboarding Flow

New developer setup flow:

git clone <repo>
pnpm install
cp .env.example .env
docker compose up -d postgres redis
pnpm start:dev

closes #521
Drips Wave 6

- Centralized Bull config in QueueModule (all 11 queues, global)
- WorkersBridgeService wires 6 workers to Bull .process() with concurrency
- Priority queue via PrioritizationService.toBullPriority() mapping
- Dead letter queue via DeadLetterService (failed event forwarding)
- Retry strategy centralization via RetryStrategyService (RETRY_STRATEGIES)
- Queue metrics: prometheus gauges for waiting/active/failed jobs + histogram
- Periodic queue stats polling every 30s via QueueMetricsService
- Fixed MESSAGE_QUEUE processor registration
- Load test benchmark script (Redis required)
- Documentation in src/queues/README.md
- Add root-level docker-compose.yml for simplified dev setup
- Create docs/setup.md with step-by-step onboarding guide (10 steps)
- Create docs/troubleshooting.md covering 7 common issue categories
- Create docs/runbook.md with command-driven developer runbook
- Update docs/migrations.md to reflect actual TypeORM migration system
- Add scripts/verify-setup.js with PASS/FAIL verification checks
- Add pnpm verify npm script to package.json
- Restructure README with Quick Start at top and onboarding docs table
- Add Setup Video Tutorial placeholder section
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@JemimahEkong Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup developer environment documentation

1 participant