Skip to content

Commit

Permalink
#219: introduced the johnDoe object
Browse files Browse the repository at this point in the history
  • Loading branch information
petermasking committed May 10, 2024
1 parent b563c7b commit 9dec346
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/webui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,6 @@ Currently we only a single context for the application. The `AppContext` only pr

All server communication comes from hooks. A hook is allowed to import and execute a domain function, like establishing a relation.

We don't have to build a request for calling an API. Jitar automates this for us.
Because we're using Jitar, we can import and call the functions directly and don't have to build API requests.

Many of the domain functions require a requester object for authorization purposes. We've created a `johnDoe` object to act as placeholder when calling these functions. The authentication middleware will replace this object with the actual requester.

0 comments on commit 9dec346

Please sign in to comment.