Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 3.01 KB

README.md

File metadata and controls

49 lines (37 loc) · 3.01 KB

docs/developer-handbook/ — Developer handbook

A guided reading path for developers starting feature work on LIF: how the parts fit, how to run them, and how to change them.

Who it's for

A developer who knows Python and web APIs but is new to LIF, Polylith, the MDR and Dagster, and has no AWS access.

Contents

Backend (start here):

Chapter
0. Start here What LIF is, reading order, glossary
1. Your development environment Tools, checks, the local stack, resetting data
2. The codebase map Polylith, bricks, bases and projects, blast radius
3. The data model and the MDR Models, mappings, tenants, migrations
4. Follow the data One query traced through every service
5. Cross-cutting concerns Auth, configuration, schema loading, timeouts, logging
6. How we work Issues, commits, PRs, CI, ADRs
7. Recipes Add a field, a mapping, a data source, a service, a migration
8. Debugging and traps Where to look first; mistakes we keep relearning
9. Environments and deployment dev and demo, what a merge deploys
10. Extending LIF Which parts run on their own; where a new feature plugs in

Frontend (start here): the MDR UI and the Advisor app.

Chapter
0. Start here The two apps, how a single-page app works, the MDR in brief, glossary
1. Your development environment Install, configure, run against the backend, log in
2. The MDR UI Layout, how screens call the MDR, login, workspaces, features
3. Follow a click One button traced to the database and back
4. The Advisor app The chat client, call by call
5. Recipes Call an endpoint, test a helper, add a page or a setting
6. Checks, CI and shipping What to run, what CI misses, how it ships

How it relates to the rest of docs/

The handbook is an onboarding path over the other layers, not a seventh layer of content. It explains how things fit together and links to the overview, specs, design and operations docs for the detail. When a topic already has a good doc, the handbook links to it rather than repeating it.

Keeping it true

Each chapter says which commit it was checked against. When you change something a chapter describes (a port, a command, a workflow, the request path), update the chapter in the same PR. Notes tied to an open issue (for example, a workaround) name the issue, so remove them when it closes.