Home / Insights / Web and SaaS Development
Web and SaaS Development
How We Built an AI Career Platform for Southeast Asia on Next.js: Matching, Content and Scale
A client asked us to replace the job board, resume builder and career-advice site that job seekers in Southeast Asia were juggling with one platform. Here is how we structured it on Next.js, where the AI actually sits, how we handled several languages and private profiles, and what we would tell any team scoping a similar product.
TopicsWeb and SaaS DevelopmentGenerative AI and LLMsProduct Design and Discovery
Key takeaways
- The product combines job discovery, AI job matching, a resume builder with ATS check and AI optimisation, an AI cover letter generator, an application tracker, a private profile, a career quiz, mentor matching and learning paths. Each of those is a different workload, and the architecture has to reflect that.
- Next.js Server Components let us render public, search-engine-facing pages on the server while keeping interactive tools such as the resume editor as client components. The boundary is a design decision, not an afterthought.
- AI features run through the OpenAI API behind our own server-side routes, never from the browser. Matching is a retrieval problem first and a generation problem second; keeping the two separate made quality easier to measure and cost easier to control.
- Multilingual delivery with next-intl, authentication with Amazon Cognito and media on S3 behind CloudFront were chosen to remove undifferentiated work so the team could spend effort on matching quality and the resume tools.
- If you are scoping a similar platform, decide early which surfaces must be indexable, which data is private to the user, and which AI calls are synchronous versus background. Those three answers drive most of the cost and complexity.
On this page
- What the platform does and why it is several products in one
- Next.js architecture: drawing the server and client boundary deliberately
- Where the AI sits: matching, resume tools and keeping generation honest
- Languages, identity and media: the plumbing that lets the product scale
- Subscription plans, cost control and running it in production
- What we would tell a team scoping a similar platform
- Frequently asked questions
- Sources and methodology
Job seekers rarely use one tool. They search listings on a board, polish a CV in a separate editor, draft cover letters somewhere else, and read career advice on a fourth site. Our client, an international company serving the Southeast Asian market whose name we keep confidential, wanted to bring those into one place: a web platform where discovery, AI resume tools and career guidance work off the same profile. A particular requirement was that many users are currently employed and need a private profile that does not announce their job search.
This article explains how we built it. We cover the Next.js architecture, where the AI lives and how we kept it honest, how we handled languages, identity and media at scale, and the trade-offs we would highlight for any product team planning a similar platform. The technology choices here are the ones listed on our AI Career Platform case page: Next.js, React, Material UI, Zustand, next-intl, the OpenAI API, Amazon Cognito, and AWS S3 with CloudFront. Where we give numbers for sizing or cost, they are illustrative rather than figures from this engagement. If you are looking to hire Next.js developers for a product like this, the sections on scoping and the checklist at the end are the parts to read first.
What the platform does and why it is several products in one
The feature list on the case page reads like a tidy bullet list. From an engineering point of view it is five distinct workloads with different performance, privacy and cost profiles:
| Capability | Nature of the workload | What matters most |
|---|---|---|
| Job discovery with remote, on-site and salary filters | Read-heavy search over a changing catalogue | Fast filtered queries, indexable listing pages, freshness |
| AI job matching | Profile-to-listing ranking | Relevance quality, cost per user, explainability |
| Resume builder with ATS check and AI optimisation; AI cover letter generator | Interactive editing plus synchronous AI calls | Responsive editor, bounded latency, document export |
| Application tracker with insights | Personal, transactional data | Correctness, privacy, simple aggregation |
| Private profile, career quiz, mentor matching, learning paths | Guided flows and recommendations | Access control, progressive disclosure, content management |
Treating these as one monolith with one data model and one caching policy would have produced a slow public site, an over-exposed private area, or both. Our first architectural decision was therefore to classify every surface along two axes: public and indexable versus private to the signed-in user, and interactive versus mostly read. Job listings and career content are public and mostly read. The resume builder is private and highly interactive. Matching is private and computed. Everything else in the design follows from that classification.
Action for your own scoping: write the same table for your product before choosing a framework. It tells you which parts benefit from server rendering, which need rich client state, and where the AI spend will concentrate.
Next.js architecture: drawing the server and client boundary deliberately
We chose Next.js because the platform needs both a public, search-engine-friendly listing and content site and a logged-in application with rich editing. Next.js lets both live in one codebase, and the App Router’s model of Server and Client Components gives us a precise tool for the split.
Server Components for public and read-heavy surfaces
In the App Router, layouts and pages are Server Components by default. The Next.js documentation recommends Server Components when you need to fetch data close to the source, keep API keys and secrets off the client, reduce the JavaScript sent to the browser, and stream content progressively. Job listing pages, category pages and career guidance articles fit that description exactly: they are rendered on the server from our data layer, cached according to how often the underlying data changes, and delivered as HTML that search engines and slow mobile connections handle well. Nothing in those pages needs React state in the browser beyond small interactive islands such as a save button.
Client Components where the user is editing
The resume builder, the cover letter generator and the application tracker are a different world. They need local state, event handlers and immediate feedback as the user types. Those are Client Components, declared with the "use client" directive at the boundary. We followed the documentation’s advice to put the directive on the interactive leaf components rather than on whole page trees, so that a page can remain a Server Component while hosting a client-side editor in one slot. That keeps bundles small and avoids pulling server-only code into the browser.
State management with Zustand
Within the client-side tools we used Zustand for application state: the in-progress resume, the current step of the career quiz, filter selections in discovery. Zustand’s small API and lack of boilerplate suited a product where most state is local to a feature rather than global. Server-fetched data is passed into client components as props, as the Next.js docs describe, and only genuinely shared client state lives in a store.
Material UI for a consistent, accessible interface
Material UI gave the team a mature component set with accessibility baked in, which mattered for a consumer product used across many devices and languages. Because Material UI components rely on client-side features, we wrapped them in Client Components where they were used from server-rendered pages, which is the pattern the Next.js documentation recommends for third-party component libraries.
| Surface | Component type | Why |
|---|---|---|
| Job listing and category pages | Server | Indexable, read-heavy, data fetched close to the database, no secrets in the browser |
| Career guidance and learning path content | Server | Cacheable, streamed, minimal JavaScript |
| Resume builder, cover letter generator | Client (leaf components) | Rich local state, keystroke-level interactivity |
| Application tracker | Server page with client table controls | Private data rendered on the server; sorting and status changes on the client |
| AI calls | Server only (route handlers and server actions) | API keys never reach the client; latency and cost controlled centrally |
Action: when reviewing a Next.js codebase, look at where "use client" appears. If it sits at the top of page files, the team has probably given up the main benefit of the App Router. The boundary should be as low in the tree as the interactivity allows.
Where the AI sits: matching, resume tools and keeping generation honest
Every AI feature on the platform goes through the OpenAI API, and every call is made from our server, not from the browser. That is partly security (keys stay server-side, which the Next.js documentation also stresses) and partly control: a central AI layer lets us apply rate limits, log usage per feature, cache repeat requests and swap prompts without shipping a new client.
Matching is retrieval first
AI job matching sounds like a single model call, but asking a large language model to read a profile and a thousand listings per request would be slow, expensive and hard to evaluate. We treated matching as a retrieval problem first. OpenAI’s embeddings guide describes embeddings as a way to measure how related two pieces of text are, and lists search and recommendations among the primary uses; the guide’s search examples rank candidates by the cosine similarity between query and document vectors. Applying that pattern, listings and profiles are turned into vectors, candidate listings are retrieved by similarity and filtered by the user’s hard constraints (location type, salary range), and only then does a language model step produce the short explanation of why a listing fits. Separating retrieval from generation meant we could measure retrieval quality offline with labelled examples, tune it independently, and keep the per-user cost of the generation step bounded. The embeddings guide also notes that newer embedding models can be shortened with a dimensions parameter to reduce storage and search cost at some loss of accuracy, a knob worth knowing about when a catalogue grows.
Resume and cover letter tools: structure before prose
The resume builder produces structured data (sections, roles, dates, skills) and renders a document from it. The ATS check runs rules and a model-assisted review against that structure: missing sections, unquantified achievements, keyword gaps against a target listing. AI optimisation then rewrites specific fields, not the whole document, so the user keeps control and the output stays attached to real facts they entered. The cover letter generator follows the same rule: it is grounded in the user’s profile and the chosen listing, and the user edits before anything is saved or exported. We found that constraining generation to fields and grounding it in structured input did more for quality than any amount of prompt wording.
Guardrails that do not get in the way
- Synchronous calls (optimise this bullet, draft this letter) have strict timeouts and a visible fallback, so a slow model never freezes the editor.
- Heavier work such as re-scoring matches after a profile change runs in the background and updates the user’s view when ready.
- Every AI output is editable and labelled as a suggestion. Nothing is sent to an employer without the user’s action.
- Prompts and model versions are configuration, with a small evaluation set run before any change goes live. Our article on AI-native products and moats beyond the model explains why this evaluation discipline matters more than the model choice itself.
Action: for any matching or recommendation feature, write down the retrieval step and the generation step separately, with a quality measure for each. If you cannot describe how you would test retrieval without a language model, the design is not finished.
Languages, identity and media: the plumbing that lets the product scale
Southeast Asia is not one market. The platform had to serve users in several languages, keep their profiles private and reliable to sign in to, and handle documents and images without the application servers becoming a bottleneck. Three managed building blocks took most of that load.
Internationalisation with next-intl
Next.js supports locale-based routing natively: the internationalisation guide shows routes nested under a locale segment, locale detection from the Accept-Language header, and translation dictionaries loaded on the server so that translation files never bloat the client bundle. We used next-intl on top of that, which provides localised translations, date and number formatting and internationalised routing for the App Router. The practical benefits were consistent handling of plural forms and dates across languages, and translators working from message files rather than code. One lesson: design the layout for the longest translation from the start, because labels that fit in English rarely fit elsewhere.
Identity with Amazon Cognito
A private profile is only as private as the sign-in in front of it. We used Amazon Cognito user pools, which AWS describes as a user directory built on the OpenID Connect standard that authenticates users and issues JSON web tokens to the application. That gave us email sign-up, social sign-in through providers such as Google and Apple, optional multi-factor authentication and a managed login experience without building a credential store ourselves. Our Next.js server routes verify Cognito’s tokens before touching any private data, and the application tracker and resume data are scoped to the authenticated user at the data-access layer, not just in the interface.
Media on S3 behind CloudFront
Exported resumes, profile images and content assets live in Amazon S3 and are delivered through CloudFront. AWS explains that CloudFront serves content from a worldwide network of edge locations, retrieving it from an origin such as an S3 bucket when it is not already cached. For a user base spread across several countries that means static assets arrive from a nearby edge rather than from one region. Private documents are kept in non-public buckets and served through signed URLs with short expiry, so a resume link cannot be shared indefinitely.
| Concern | Choice | What it removed from the team’s plate |
|---|---|---|
| Multiple languages | next-intl on Next.js locale routing | Hand-rolled routing, formatting edge cases, translation files in the client bundle |
| Sign-in and privacy | Amazon Cognito user pools | Password storage, social federation, MFA, token issuance |
| Documents and images | S3 with CloudFront | Serving files from app servers, regional latency, public exposure of private documents |
Action: list the capabilities your product needs that are not your differentiator, and buy or adopt them. Spend the team’s time on matching quality and the editing experience, which users actually notice.
Subscription plans, cost control and running it in production
The platform runs subscription plans, and the AI features are the part of the product where usage most directly becomes cost. We built the commercial model and the engineering controls together.
Entitlements enforced on the server
Which plan a user is on determines which AI tools they can use and how often. We enforce that in the same server-side AI layer that makes the model calls, so a client cannot bypass limits by calling an endpoint directly. Usage is counted per user per feature, which also gives the client a clear view of which tools drive both engagement and spend.
Illustrative cost thinking
The following is an illustrative way to reason about run cost, not figures from this engagement. Suppose a plan allows a user a set number of AI optimisations and cover letters per month, and each call costs a fraction of a cent to a few cents depending on prompt length and model. Multiplying the allowance by a realistic activation rate (most subscribers do not use the full allowance) gives a per-subscriber AI cost that can be compared with the plan price. Matching recomputation is cheaper when it is embedding-based and only the explanation step uses a larger model. We also cache embeddings for listings so a listing is vectorised once, not once per user.
Operational practices
- Structured logging of every AI call with feature, model, token counts and latency, so that cost spikes can be traced to a feature within minutes.
- Separate rate limits for synchronous and background AI work, so a batch re-score cannot starve interactive requests.
- Caching at three levels: CloudFront for static assets, Next.js data caching for public listing and content pages, and application-level caching for embeddings and repeated AI requests.
- Feature flags for AI capabilities, so a misbehaving model version can be switched off for a feature without a deployment.
- A small evaluation set for matching and resume suggestions, run before prompt or model changes; our write-up on the skills that matter for production Next.js apps covers the engineering habits behind this.
Action: before launching any paid AI feature, be able to answer: what does one use cost us, how many uses does a plan allow, and what happens at the limit? If any of those is unknown, the margin is unknown too.
What we would tell a team scoping a similar platform
Looking back across the build, a handful of decisions mattered more than the rest, and some trade-offs are worth stating plainly.
Decisions that paid off
- Classifying surfaces before writing code. Public versus private and interactive versus read-only drove the Server and Client Component split, the caching policy and the access model. It avoided the common failure of a logged-in app bleeding into the public site or vice versa.
- Retrieval before generation for matching. It made quality measurable and cost predictable, and it meant the explanation layer could change without re-architecting search.
- Structured resume data. Treating a resume as data rather than a document enabled the ATS check, field-level AI rewriting and multiple export formats from one source of truth.
- Managed identity and delivery. Cognito, S3 and CloudFront removed work that would not have made the product better and reduced the security surface we had to own.
Trade-offs to be honest about
- Framework coupling. Leaning into Server Components and Next.js data caching gives performance and simplicity but ties the application to Next.js conventions. For a product that lives on the web and values search visibility, we think that trade is right; for a team planning to share a codebase with native mobile apps, it deserves more thought.
- Vendor concentration. Cognito, S3, CloudFront and the OpenAI API are each replaceable, but replacing several at once would be a project. We mitigated this by keeping AI calls behind one internal interface and keeping identity verification in one module.
- Multilingual AI quality. Model output quality varies across languages. Evaluation sets must include every supported language, not just English, and some features may need language-specific prompts or human-reviewed templates.
- Privacy expectations. Employed job seekers are sensitive to exposure. Private-by-default profiles, clear controls over what is visible, and no silent sharing with employers are product requirements, not polish.
A scoping checklist
- List every surface and mark it public or private, interactive or read-mostly.
- For each AI feature, write the retrieval step, the generation step and how each is evaluated.
- Decide which AI calls are synchronous with a timeout and which run in the background.
- Define the data model for resumes and profiles as structured data before designing the editor.
- Choose managed services for identity, file storage and delivery, and note how each would be replaced.
- Set the languages for launch and build the evaluation set and layout tests for all of them.
- Define plan entitlements and enforce them server-side alongside the AI calls.
- Instrument AI usage per feature from day one.
None of this requires exotic technology. It requires making the boundaries explicit early and keeping the AI grounded in data the user owns. Those two habits are what let a career platform grow from a job board with a chatbot into something people trust with their next move.
Frequently asked questions
Why Next.js rather than a single-page app with a separate API?
The product needed public, indexable listing and content pages as well as a rich logged-in application. Next.js Server Components handle the first well, Client Components handle the second, and one codebase keeps the team and the deployment simple. A pure single-page app would have made the public surfaces slower and harder for search engines.
How does the AI job matching actually work?
Matching is treated as retrieval first: profiles and listings are embedded as vectors, candidates are retrieved by similarity and filtered by the user’s constraints, and a language model step then explains why each fits. Keeping those steps separate makes quality measurable and cost predictable.
Is user data sent to the AI provider?
AI calls are made server-side through the OpenAI API with only the data a feature needs, such as the relevant resume fields and the target listing. Keys never reach the browser, usage is logged per feature, and outputs are suggestions the user edits before anything is saved or exported. Data handling terms with the provider should be reviewed for your own product.
How did you support several languages?
Next.js locale routing with next-intl provides translated messages, date and number formatting and internationalised routes, with translations loaded on the server so they do not inflate the client bundle. Evaluation sets for AI features cover every supported language, and layouts are designed for the longest translations.
What would a similar platform cost to build?
It depends on how many of the capabilities you need at launch, the languages supported and the depth of the AI features. The scoping checklist in this article is the starting point; our Next.js hiring page lists the factors that drive effort, and we provide estimates with their assumptions stated.
Can the AI features be swapped to a different model provider later?
Yes, provided the AI calls sit behind one internal interface, as they do here. The retrieval layer, prompts and evaluation sets are the parts that need re-testing when a model changes; the rest of the application should not notice.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- PoliteTech Software: AI Career Platform case study — accessed 10 November 2026. Scope, features and technology stack of the platform described in this article.
- Next.js documentation: Server and Client Components — accessed 10 November 2026. When to use Server versus Client Components, the use client boundary and keeping secrets server-side.
- Next.js documentation: Internationalization guide — accessed 10 November 2026. Locale-segment routing, header-based locale detection and server-loaded translation dictionaries.
- next-intl documentation: Getting started — accessed 10 November 2026. Translations, date and number formatting and internationalised routing for the App Router.
- OpenAI: Embeddings guide — accessed 10 November 2026. Embeddings for search and recommendations, cosine-similarity ranking and the dimensions parameter.
- AWS documentation: What is Amazon Cognito? — accessed 10 November 2026. User pools as an OIDC-based directory issuing JWTs, social and federated sign-in and MFA.
Related reading
Continue your research
Scoping a marketplace or career platform with AI matching?
We can review your surfaces, data model and AI features with you and give an estimate with its assumptions stated.
