Odac Object — ODAC.JS Docs
Docs / ODAC.JS / Backend / Backend Overview / Odac Object

🧰 What's in the Odac box?

Your Odac assistant comes with a bunch of handy services:

  • Request: All the details about the user's incoming request.
  • View: A tool to render your beautiful HTML pages.
  • Auth: Your friendly security guard for managing the current user's login.
  • Token: Helps protect the user's forms from nasty CSRF attacks.
  • Lang: A helper for translating your app into the user's language.
  • setInterval() / setTimeout(): Memory-safe timers with automatic cleanup.
  • stream(): Create streaming responses (Server-Sent Events).