SDK cookbook

End-to-end recipes for common custom job board frontend flows.

Cookbook recipes combine multiple namespaces into complete user journeys. They assume you already created the shared client and understand session ownership.

Unlike the namespace reference, each recipe starts with a user outcome and connects the reads, writes, helpers, and verification needed to deliver it. The examples are framework-neutral TypeScript unless the rendering boundary matters.

Before you begin

  • Complete Installing.
  • Read Authentication and session ownership before using any board.me.* method.
  • Load board.context() and respect its feature flags before exposing an optional journey.
  • Keep the same public origin and canonical path rules across page rendering, metadata, and sitemaps.

Recipes

Copy the sequence and boundary decisions, then adapt the components and framework glue. Do not copy example identifiers or origins into production configuration.

Verify a recipe

A recipe is complete only when its observable user path and failure path both work. For every recipe:

  1. Exercise it with real development-board data.
  2. Exercise the documented empty, denied, or invalid-input branch.
  3. Confirm authenticated responses use a private/no-store boundary.
  4. Run the project typecheck and production build.
  5. With the frontend running, run npx @cavuno/board doctor --frontend http://localhost:3000 from a shell that exports PUBLIC_CAVUNO_BOARD. Set PUBLIC_CAVUNO_API_URL only when Cavuno supplied a non-production override.

Doctor prints each probe as pass, fail, or skip. The observable checkpoint is a summary with no failed checks and no unexplained skips—skipped probes are explicitly not verified.

Next step

Start with Build a job listing page. Ship its /jobs route against your development board, verify a page with jobs and a valid zero-results filter, then run doctor before adding the authentication or posting recipes.

Job directory and search

Combine context, filters, numbered or cursor pagination, job cards, and canonical URLs.

Job detail and applications

Render a canonical job page, similar jobs, native applications, and framework-native not-found behavior.

Custom field filters and badges

Turn a board's job and company custom fields into filter dropdowns and listing badges.

Company directory and profiles

Add company browse, search, profile, jobs, similar companies, markets, and salary pages.

Blog and editorial pages

Render a blog index, tag, author, search, post, adjacent-post, and related-post experience.

Talent directory and profiles

Gate, search, paginate, and render public or employer-only talent profiles.

Authentication flow

Connect registration, verification, login, explicit refresh, and logout.

Candidate account

Compose profile, résumé, matches, saved jobs, weekly alerts, applications, access, and conversations.

Saved jobs

Combine anonymous job cards, auth prompts, and the saved-jobs account surface.

Employer workflows

Create and claim companies, manage jobs, applicants, pipeline stages, billing, and messaging.

Job matches

Render a signed-in Matches page from board.me.recommendedJobs.list without inventing a ranker.

Job posting flow

Combine plan selection, billing verification, submission states, and checkout.

Monetization and paywalls

Present employer plans, posting products, candidate offers, checkout, and entitlement return states.

SEO-complete job board

Define, connect, and verify the complete indexable route system for a custom job board.