Aller au contenu
Tutoriel
  • Your first API
  • Testing your API
Guides pratiques
  • Add and share a provider
  • Write a guard
  • Transform and validate with pipes
Référence
  • Decorator reference
  • CLI reference
Explications
  • Modules and dependency injection
  • The request lifecycle
  1. Documentation
  2. Bustan
  3. 0.0.2
  4. how-to

Guides pratiques

Les étapes d’un objectif précis, quand vous savez ce qu’il vous faut.

  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.