backendless/appgyver
  • Backendless API
  • AppGyver/Backendless Registration
  • Appgyver/Backendless Login
  • AppgyverBackendless User Data Resource
Powered by GitBook
On this page
  • Appgyver Data Configurator
  • AppGyver Registration UI
  • Binding page variables to input fields
  • Button Register Logic

Was this helpful?

AppGyver/Backendless Registration

This page discusses setup of the data configurator, UI, and flow logic for registration.

PreviousBackendless APINextAppgyver/Backendless Login

Last updated 4 years ago

Was this helpful?

Appgyver Data Configurator

We can now go to data configurator, select rest API direct integration, and paste our previously copied backendless request URL into the resource URL field. We can choose any name as resource ID.

https://api.backendless.com/application-id/REST-api-key/users/register

The redaction is only meant to keep others from using my API key. Please do not delete that data from your resource URL.

Select Create Record and Enable Method

Select Schema

Select custom schema from the Create record (POST) drop down box.

Create email, name and password properties with a text value type.

Go to Test tab and click on custom object

We can now type in the required fields and click save.

Select "Run Test". After you receive status:ok, click "Set Schema From Response". This will automatically generate your response schema, which you can view in the Schema tab.

We should now see the new user posted in our backendless database under the data browser tab.

AppGyver Registration UI

To keep it simple, I created three inputs and a button.

We now need to create three page variables, and bind them to the input fields.

Select page variables, and create three variables that will bind to the input fields.

Binding page variables to input fields

We can now go back to view, select an input, and select the value box.

Select data variable

Select Page Variable

Bind page variable to the correct input

The result should look like this.

I removed the preview value (lorem ipsum).

Button Register Logic

Click on the register button, open flow logic, and add create record. Select the database resource name, and select custom object.

Bind them to the page variable.

Select data and variables

And bind them to the correct page variable.

We can add an alert and toast to inform the user.

We can now test the registration process through the appgyver app, and confirm in the backendless database that user records are being created :)