Skip to content
Tutorial
  • Your first API
  • Testing your API
How-to guides
  • Add and share a provider
  • Write a guard
  • Transform and validate with pipes
Reference
  • Decorator reference
  • CLI reference
Explanation
  • Modules and dependency injection
  • The request lifecycle
  1. Documentation
  2. Bustan
  3. 0.0.2
  4. how-to

How-to guides

Steps for a specific goal, when you know what you need.

  1. Add and share a providerRegister a provider, export it, and consume it from another module.
  2. Write a guardProtect a route or a controller with an authorisation check.
  3. Transform and validate with pipesCoerce or reject a parameter before the handler sees it.