Try the New User Login/Registration App Example

Example of a login box
User login/registration is one of the most common features in a mobile app. With Database’s built-in user management feature, adding a login and registration capability to an app is very fast and simple. We know that developers love examples and so we created an app example available in the Builder that shows how to add this functionality in an app, so it’s even faster.

When creating a new app, switch to the From example tab and select Login Registration Example. Then hit Create.

Screen Shot 2015-04-09 at 3.01.08 PM

This example does require a very quick setup, you need to create a database where the users will be store. Head over to documentation for setup steps.

Once you are up and running, the examples demonstrates the following features:

  • User login
  • User registration
  • User logout
  • User session management
  • Create/view/delete a list of items that only belong to the currently logged in user

This is how the app looks when a user is logged in:

Screen Shot 2015-04-09 at 3.03.15 PM

Also check out this video that shows how how to run this example:

Go ahead and try this example. Feel free to make any changes. You can always delete this app and create a brand new one based on the example again.