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 Getting started.
  • 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.

How to build a job directory and search page

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

How to build job detail and application pages

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

How to build a company directory and profile pages

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

How to build blog and editorial pages for a job board

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

How to build a talent directory and profiles

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

How to build candidate authentication for a job board

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

How to build a candidate account

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

How to add saved jobs to a job board

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

How to build employer self-service workflows

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

How to build a job posting and checkout flow

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

How to add plans, checkout, and paywalls to a job board

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

How to build an SEO-friendly job board

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