Part 3: Setting up Monaca Backend

Step 1: Attaching Backend to Your Project

  1. From Monaca Cloud IDE, click on Cloud icon above the file tree menu to go to the Backend Control Panel. Then, click on Start Using Backend button.

  2. The following dialog will appear. You can create a new Backend, or select an existing one which is used in a different project. Then, click Apply to attach the Backend to your project.

  3. After attaching the Backend, your Backend Control Panel will look similar to this:

Step 2: Creating a New Collection

Collection is a general purpose storage to keep data in the Backend.

  1. From Backend Control Panel, click on Options Menu icon. Then, choose New Collection....

  2. Then, New Collection dialog will appear. Fill in the name for your Collection. Then, click on Add button.

Please remember to enable Allow JavaScript API to insert data if you want to insert data from your app. For more details about collection management, please refer to Collection Management .

After you follow the above steps, you can now start creating your own applications with Backend support. Backend Memo demonstrates a step-by-step instruction on how to manipulate Monaca Backend in an application. Please refer to it and start coding your app with Monaca Backend.

See Also: