Skip to main content

What Next?

You now understand the essential building blocks of Digital Alchemy Core:

  • Services are plain functions that receive TServiceParams and return their public API
  • Modules wire services together; LoadedModules connects the type system
  • Lifecycle hooks control when code runs — PostConfig, Bootstrap, Ready
  • Configuration is declared per-module and validated at boot
  • Libraries package services for reuse across applications
  • TestRunner boots your real application in an isolated test environment

Reference — when you need the details​

TopicReference page
All CreateApplication optionsCreateApplication
All BootstrapOptions fieldsBootstrap Options
TServiceParams full property listTServiceParams
All 7 lifecycle hooksHooks
Lifecycle execution order and prioritiesExecution Order
Config types, sourcing, and accessConfig Overview
Logger, scheduler, event busBuiltins
TestRunner full APITestRunner

Guides — mental models​

QuestionGuide
What exactly happens when I call bootstrap()?Bootstrap Internals
Why DI? Why not just import everything?Dependency Injection
How do I organize a real multi-service app?Application Structure
How does config flow from env to my code?Config and Environments
How should I approach testing?Testing Strategies

Advanced​

TopicPage
Async Local Storage and structured loggingAsync Local Storage
Boot timing and performance metricsBoot Metrics
Logger options, config sources, custom loggerProject Tuning