Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.12 KB

CONTRIBUTING.md

File metadata and controls

37 lines (25 loc) · 1.12 KB

Contributing to iBlog web

Thanks for helping. General rules (branching, Conventional Commits, review) live in the org guide. This file covers this repo.

Setup

Requirements: bun (latest), Docker for the backend.

git clone https://github.com/iBlog/iblog-monolith-go && cd iblog-monolith-go
docker compose up -d          # API on :8080

# in this repo
bun install
bun run dev

Before you open a PR

bun run lint        # Biome
bun run typecheck
bun run test        # Vitest + MSW
bun run build

CI runs the same commands. Playwright e2e (bun run e2e) needs the backend running; run it when you touch flows.

Code layout

DDD by context under src/: domain (pure logic, no React), application (hooks/use cases), infrastructure (HTTP), ui (components). Keep business rules out of components and add tests next to the code (*.test.ts(x)).

Good first issues

Look for the good first issue label. Comment on the issue before starting so nobody duplicates work.