Course lesson 02 · Getting Started

Setting up the project

One study unit · Read, recall, then practice · Original video 00:07:31

The starter is a pnpm monorepo containing two applications and one reusable package. The lesson gets the existing interface running, establishing the build order and the relationship between root convenience scripts and scripts inside each workspace package. The visible dashboard is still mostly a scaffold with dummy data, so a working page does not yet mean the backend features exist.

Primary source: course video 02 · Supplied English subtitles · 00:07:31.

Understand the idea

What the course does

  1. Fork the starter into your GitHub account and clone that fork so later changes and deployment integration belong to your repository.
  2. Inspect apps/user-application, apps/data-service, and the Data Ops package before changing code.
  3. Install workspace dependencies with pnpm, then run the root helper that builds the shared package.
  4. Start the frontend using the root filtered helper or run its dev script from the application directory.
  5. Open the local interface on port 3000 and inspect the marketing page, dashboard, link editor, and placeholder analytics.

Watch for

Recall before revealing

Why build Data Ops before starting an application that imports it?

Reveal the explanation

The application consumes the package’s exported build output; the build creates the JavaScript and type files at those export paths.

Try it

In a separate course checkout, identify the workspace package names, build the shared package, and start the user application.

Check your result

The dashboard opens locally, and you can point to the scripts and package that produced it.

Practice prompts and answer checks are added teaching material. Answer from memory first, then compare and explain any difference.

Rewatch only what you need

Open this lesson in your original course library and seek to the times below. Videos are not hosted on this site.

Companion primary documentation: Cloudflare Workers runtime APIs. For recorded API names, commands, limits, and prices, check the version you use.

← Previous   Next →