How to use Back4app Agent

Backend as a Service

22min

Back4App Agentcan easily manage Parse Apps, enabling developers to create and improve their applications seamlessly. This guide dives deep into each feature, providing a range of sample prompts to cater to different complexities.

Creating a New Parse App

This feature allows developers to initiate a new application on Back4App's platform. By simply specifying a name, a fresh Parse environment is set up, ready for development and deployment.

Prompt samples:

Text

Text

Text


Getting Existing Parse Apps

This functionality provides an overview of all the Parse Apps associated with a developer's account. It offers insights into app details, URLs, keys, and other essential configurations.

Prompt samples:

Text

Text

Text


Creating Database Models

A core feature that facilitates the creation of database schemas or classes. Developers can define fields, set up relational data models, incorporate geolocation attributes, and even populate the database with mock data.

Prompt Samples:

Text

Text

Text


Deploying Cloud Code

This allows developers to enhance their apps by deploying server-side code. From simple functions to intricate web pages, cloud code can be used to execute logic, manage data, or serve content.

Sample Prompts:

Text

Text

Text


Retrieving Cloud Code Content

A handy tool for reviewing or editing the cloud code of an app. Developers can fetch specific files or entire directories to inspect the server-side code they've deployed.

Sample Prompts

Text

Text

Text


Creating a Job Function

Job functions are scheduled tasks that run at specified intervals. They can be used for routine operations like data cleanup, sending notifications, or generating reports.

Prompt Sample:

Text

Text

Text


8. Calling the Parse Server REST API

An interface to interact directly with the app's backend. Developers can fetch schemas, manipulate data, execute queries, and more, all through standardized RESTful calls.

Prompt Sample:

Text

Text

Text


9. Calling the Parse Server GraphQL API

An alternative to the REST API, the GraphQL API offers more flexibility in querying data. Developers can request specific data structures, reducing over-fetching and optimizing performance.

Prompt Sample

Text

Text

Text


10. Activating Web Hosting

This feature turns on web hosting for an app, making its public content accessible via a Back4App subdomain. It's ideal for hosting frontend interfaces or static assets.

Prompt Sample

Text

Text

Text


11. Using the Developer Environment

An isolated sandbox environment on Back4App where developers can write, test, and debug code. It's a safe space to experiment without affecting live apps.

Prompt Sample

Text

Text

Text