Skip to content

Tutorial — build a feature end to end

  1. Scaffold the feature folder — port (core/) and the first adapter.
  2. Entity and service — define the data shape and the business logic.
  3. Expose over HTTP — controller, pipes, guards.
  4. Expose over GraphQL — resolver, fields, dataloaders.
  5. Expose over WebSockets — gateway and messages.
  6. Authorization — abilities, row-level filtering, response masking.
  7. Persistence and migrations — entity wiring, the migrator app.
  8. Test it end to endnestrs-testing and the live baseline.