SDK cookbook
End-to-end recipes for common custom job board frontend flows.
A
JCookbook 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
- Job directory and search — URL filters, browse/search, cursor and numbered pagination, formatting, and metadata.
- Job detail and applications — canonical routes, native 404s, similar jobs, uploads, and application state.
- Company directory and profiles — browse, search, profiles, open jobs, markets, and salaries.
- Blog and editorial pages — index, tag, author, search, post, adjacent, and related content.
- Talent directory and profiles — visibility gates, search, cursor pagination, profiles, and contact.
- Authentication flow — registration, verification, login, explicit refresh, and logout.
- Candidate account — profile, résumé, weekly alerts, applications, access, and conversations.
- Saved jobs — authenticated save state without local-storage guesses.
- Employer workflows — company claims, jobs, applicants, pipelines, billing, and messaging.
- Job posting flow — products, billing verification, submission, and checkout branching.
- Monetization and paywalls — plans, posting products, candidate offers, checkout, and entitlements.
- SEO-complete board — all public routes, canonicals, structured data, redirects, and sitemap membership.
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:
- Exercise it with real development-board data.
- Exercise the documented empty, denied, or invalid-input branch.
- Confirm authenticated responses use a private/no-store boundary.
- Run the project typecheck and production build.
- With the frontend running, run
npx @cavuno/board doctor --frontend http://localhost:3000from a shell that exportsPUBLIC_CAVUNO_BOARD. SetPUBLIC_CAVUNO_API_URLonly 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.