movies
build 2026-12-02 12:32:55 · rendered 12:36:31.701
0 tabs live
admin / admin log in Share
Live import Movies Example 0.5

Deploy a model. Import a hundred thousand ratings. Watch it go live.

Nothing exists yet — this instance has no Movies model deployed. The three steps below deploy it, import the real MovieLens dataset with progress counted live by an XSQL template, then hand you a live app to click around and a button to tear it all down again.

100,836
user ratings
9,742
movies
1,465
actors
19
genres
3,683
tags

1. Deploy the data model

A data model here is the ERD itself — entities, their attributes and the relations between them — kept as one versioned document instead of a pile of migration scripts. This one is Movies Example 0.5: five entities (Movie, Movie Actor, Movie Genre, User Rating, User Tag) and four relations, 8 kB of it — with history switched on for Movie, so every edit to a movie is kept.

Deploying sends that document to the engine untouched. The engine reconciles the database schema to match it — tables, columns, constraints, the DDL is its job, not yours — exposes every entity over the /data endpoint as CRUD plus live subscriptions, and registers it with IAM so access can be granted per entity and per attribute. No API code is written or generated anywhere. Nothing is imported yet; that is step 2.

Deploy the data model

Movies Example is deployed .

Open it in the modeler Continue to import

2. Import the data

Seven phases, ~238 write calls, dominated by 100,836 ratings. Every row carries an explicit xid, so this is safe to run again.

The server already holds some rows. Sync upserts by xid, so running the import again completes it without duplicating anything.
Movies
Actors
User ratings
Genres
Tags
XSQL: demo/progress Run this template in the console

It's live

ratings, movies and actors are in the database right now. Every page you're about to open reads and watches them live.

The tour opens two companion windows — the movies list and the dashboard — and asks for a third: an incognito window with no session at all. Rate a film and watch the same write reach all four surfaces at once.

4. Destroy the dataset

Deletes every version, table and row this demo owns. The guide starts over at step 1 — nothing else on the instance is touched.

Destroy the dataset

Destroy the dataset?

This deletes every version, table and row of the Movies model. The guide starts over at "Deploy the data model".

Cancel Destroy

Share this page

Anyone who opens it joins the same live instance — a different machine, a different network, no session shared with yours.

Copy link Show QR Close