OSMAINT

Academy / Path 06

Developer

OSMAINT is meant to be changed. This path is for the people who will change it: how the code is organised, how a module is added end to end, how the API and the MCP server are kept honest, and how a change becomes a release instead of a fork.

Developers, integrators, partners6 lessons80 minQuiz at the end

What you will be able to do

These are the outcomes, not the topics. If you cannot demonstrate them at the end, the path did not land.

  • 01Build and run the server, web app and mobile app locally
  • 02Add a module across migration, handler, route, API index and UI
  • 03Extend the MCP server without breaking its contracts
  • 04Keep the English base and the Swedish overlay consistent
  • 05Ship a versioned release without amending a published tag

The lessons

Read in order. Each lesson builds on the vocabulary of the one before it.

  1. 01

    The repository and the stack

    12 min
  2. 02

    Data model and migrations

    14 min
  3. 03

    The API, routes and scopes

    14 min
  4. 04

    The frontend and the language overlay

    13 min
  5. 05

    MCP tools and the AI layer

    14 min
  6. 06

    Release and contribute

    13 min

Check yourself

5 questions. Graded in the browser, with an explanation for every answer.

01Why does /api/version report schema_migrations?

It tells you which schema the database is on, so you can confirm that a binary and a database belong together before or after an upgrade.

02What must every mutating API handler do?

Scopes are enforced server-side. A handler without the right scope check lets a viewer mutate data.

03What is the correct way to handle a nullable database value in JSON?

A leaking null wrapper looks like a value to the client and breaks rendering. Explicit null is the contract.

04What happens when a Swedish overlay key is missing?

English is the base; the overlay falls back to it. That is why English must never contain Swedish strings.

05A defect is found after a version tag was published. What is the correct action?

Published tags are immutable so that deployments are reproducible. The fix is the next version.