Back to Blog

Web Apps

November 23, 2026

When a Website Starts Having Users

What changes when a site gains accounts, permissions and payments, and why it doesn't have to become a second project.

A course catalogue is a website. The moment someone can enroll, it begins to behave like an application.

The pages still matter. People need to find the course, read what they'll learn, and decide whether it's worth their time. But now the site also needs to know who they are, what they've purchased, and which lessons they're allowed to see.

Then the instructor wants assignments. Students need to submit work. Grades must be visible to the right people, and perhaps only after publication.

We tend to discuss website development and application development as separate projects. In practice, one often grows into the other.

Three kinds of information appear on the same page

Take the course overview. It may show:

  1. Published editorial material: the title, course description, photos, and curriculum overview.
  2. Records maintained by content authors: new sessions, announcements, instructor biographies.
  3. Application data: the signed-in student's enrollment, progress, and access to paid lessons.

Those aren't the same kind of data. The first two concern what a site publishes. The third concerns specific people, permissions, and transactions.

Uniweb makes that distinction explicit. Published content and live CMS records can be served without an application backend. Members' data lives in the optional Application Engine. A React section can render information from both sources in one experience.

The project doesn't need to become a separate frontend simply because somebody signs in.

Adding the backend isn't the same as inventing it

A Uniweb project can enable the managed Application Engine in its site configuration:

services:
  backend: true

That line doesn't complete the application. The developer must still define its domain, permissions, and member-facing screens. A blueprint.yml describes how the backend should start; domain Models describe the data and its rules. But the developer doesn't need to design the underlying tables, migrations, API routes, and generic account management.

For a learning application, a course Model might hold modules and lessons as parts of one entity. An enrollment is separate: it belongs to a student and has its own lifecycle. A submission belongs to the student, while a grade may belong to an instructor and remain private until it's released.

That split isn't a database normalization exercise. It's an application-permission decision. If a grade is just another field in a submission, controlling access to it may require special field-level logic across several APIs and screens. When it is an entity with its own permissions, the backend can enforce the boundary consistently.

A React component reaches the backend through @uniweb/api:

import { useSession, useRecords } from '@uniweb/api'

export default function MyCourses() {
  const { viewer } = useSession()
  const { status, records } = useRecords({
    schema: '@/course',
    scope: 'mine',
  })
  // Render the member's courses using your own components.
}

This is an illustration of the SDK's model, not a complete course application. There are still enrollment flows to build, states to handle, and business decisions to make.

Specialized logic remains specialized

An online quiz makes the division clearer. The browser can display questions and collect answers. It shouldn't receive the answer key or decide a grade that will become an authoritative record.

In Uniweb, a small JavaScript compute function can evaluate submitted answers outside the browser. An integration maps the required data into the function and maps its result back into an authorized write. For logic needing network calls, packages, storage, or longer processing, an external service is the right place instead.

The platform supplies the common data and permission infrastructure. It doesn't pretend that grading, pricing strategy, or the details of your learning product are generic.

Keep the public experience intact

The course still needs an attractive public page, editable copy, good search visibility, and perhaps different languages. The authenticated experience should feel like part of the same product, not a trip to an unrelated portal.

Uniweb uses a React/Vite framework to render both. Managed hosting performs just-in-time prerendering for the SPA. Content authors can use the visual editor, while developers keep working in code and Git.

This doesn't mean a more conventional stack couldn't do the same job. React plus a backend service and a CMS is a valid approach. The question is how many integration boundaries you want to own as the product grows.

A site with users is more demanding than a site with pages. It needs rules, identity, transactions, and an operational life beyond its first deployment. Building those capabilities into the same project is an architectural choice worth considering early, even if you don't need them yet.

Explore Uniweb or review the open-source framework.