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 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
- Job directory and search — URL filters, browse/search, cursor and numbered pagination, formatting, and metadata.
- Custom field filters and badges — job and company custom fields as filter dropdowns and card badges.
- 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é, matches, weekly alerts, applications, access, and conversations.
- Saved jobs — authenticated save state without local-storage guesses.
- Job matches — signed-in Matches from
board.me.recommendedJobs.list. - 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.
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.