Skip to content
Academy
0/15

Routes

On this page

Build with Milpa · Unit 1 of 4

Boot a verifiable host

The skeleton is a minimal host. Its job is to assemble packages, configuration and routes without introducing a second architecture.

Beginner to intermediate25 min

By the end, you'll be able to

  • Create the public skeleton
  • Read doctor as evidence of the boot

Understand

The skeleton is a minimal host. Its job is to assemble packages, configuration and routes without introducing a second architecture.

Doctor is not a welcome screen: it checks that the kernel booted, lists plugins and routes, and makes the container's state visible.

See

Inspect the runtime

Use the x-ray to relate boot, container, dispatcher and registry.

Do

Run the practice in your checkout and keep the output as evidence.

terminal
$composer create-project milpa/skeleton myapp
$cd myapp
$php bin/coa doctor

Verify

Show that you can apply the unit. Progress only advances once you pass the assessment.

Criteria assessed

  • Doctor confirms kernel, plugins, container and routes.
  • The public server is served from public/.

Graded assessment

Solve the 3 scenarios. This unit requires 3 of 3 correct answers.

0 attempts
Question 1 of 3A new server must expose the skeleton over HTTP. Which configuration preserves the public boundary the project intends?
Question 2 of 3php bin/coa doctor reports that the kernel booted, lists configured and booted plugins, shows the container and dispatcher, and counts declared routes. Which conclusion is actually supported?
Question 3 of 3A PR adds pricing rules and catalog queries directly into public/index.php because that's where the request lands. What review is appropriate?

Grading validates answers in this browser; it doesn't certify identity.

Primary sources

Content verified: 2026-07-10