Quick Start Guide¶
This guide will help you develop a basic mobile application up and running with the Backendless 5 backend.
If you use Backendless Pro...
Once the product is installed, there are two URLs to keep in mind:
- ** Backendless Console URL** - available at
http://HOSTNAME:8080
, whereHOSTNAME
is the IP address or the hostname confirmed/entered during the installation. It is not recommended to uselocalhost
if you plan to run your application in a device emulator. - ** API Endpoint URL** - this is the URL where the server accepts and processes the API requests. The API endpoint URL is the same as console URL with
/api
appended at the end. For example,http://HOSTNAME:8080/api
. When Backendless Pro is running, you can confirm that the API endpoint is working, by entering it in a browser. You should see the following (or similar) response:
Follow the steps below to build your first app with Backendless:
- Login to Backendless Console. The username and password are what you entered during the installation process. If you cannot remember the login, click the Register link on the Backendless Console login screen and create a new developer account.
- Select or create an app. If you do not have any applications in your account, you will be prompted to create one.
- Click the Download Project Template button:
- Double click the Flutter icon in the download project template popup to download a Flutter project initialized to use Backendless:
- The downloaded ZIP file contains an Flutter project. Open the project in an IDE (for example Visual Studio).
- The project contains
main.dart
file. It contains your application ID, Android API Key, iOS API Key and the API endpoint URL. Additionally, this file includes Backendless SDK initialization and sample code which stores an object in the database of your Backendless app. - The project is ready to run without any changes. Run the app in an emulator or on a device. When the application runs successfully, it displays a message on the screen informing that an object has been saved in Backendless:
- To verify the object in Backendless, return to Backendless Console, and click the Data icon. The TestTable table shows the persisted object: