Files
noodl-docs/library/prefabs/xano/components/setup-xanoclient
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00
..
2023-09-05 12:08:55 +02:00

title, hide_title
title hide_title
Setup XanoClient true

Setup XanoClient

This component is used to configure the Xano Client, enabling your app to establish connections and query your endpoints.

This prefab will not work unless you place one instance of the Setup Xano Client component in your projects Home Component and set the API Group Base URL and Datasource values:

The API Group Base URL can be found here in Xano:

Inputs

Data Description
API Group Base URL The base Request URL used to call all the endpoints of the API Groups.
Datasource The data environment to be used in your Xano workspace. Defaults to live.
Auth Login Path The path to the login endpoint. Defaults to /auth/login.
Auth Signup Path The path to the signup endpoint. Defaults to /auth/signup.
Auth Me Path The path to the endpoint containing the user information. Defaults to /auth/me

After the Xano Client has been set up you can find all the input values in the following Noodl variables:

  • Noodl.Variables.xanoApiGroupBaseUrl
  • Noodl.Variables.xanoDatasource
  • Noodl.Variables.xanoAuthSignupPath
  • Noodl.Variables.xanoAuthLoginPath
  • Noodl.Variables.xanoAuthMePath

Outputs

Signals Description
Success Sends a signal when the Xano Client initilized successfully.
Failure Sends a signal when the Xano Client failed initializing. Outputs the error message in the console.