Overview

Appery.io Server Code overview.

What is Server Code?

[Server Code](https://appery.io/servercode) allows writing custom app code using JavaScript that will run (execute) on the Appery.io server. You write the logic inside a Server Code script. A script can be easily tested right inside the Server Code dashboard.

With the Appery.io Server Code option, you can:

  • Create a new script or libraries;
  • View the list of existing scripts and libraries;
  • Open and edit a script or library;
  • View statistics and reports for any script or all scripts;
  • Import a Server Code plugin;
  • Schedule a script to run periodically (schedule a job).

For example, in the Server Code script you can:

  • Perform calculations;
  • Connect to the Appery.io Database to retrieve, update, or create data;
  • Send Push Notification messages;
  • Invoke any 3rd party REST API;
  • And anything else you might need...

Also, a script can be scheduled to run periodically, this is called a Job. For example, you can schedule a script to run every 24 hours to check the database for inventory levels.

Server Code allows writing any app logic. For example, in the script you can:

  • Perform calculations;
  • Connect to the Appery.io Database to retrieve, update or create data;
  • Send Push Notification messages;
  • Invoke any 3rd party REST API;
  • And anything else you might need.

Complete Server Code API.

Also, you can check this document to learn more about how to work with Appery.io Database and Server Code.

In this section, you can find information on how to work with:

Also, some samples and quickstart tutorials to help you work with Appery.io Server Code.

👍

Setting up Server Code

Please check this link to learn how to get started with setting up the Appery.io Server Code.

🚧

The Server Code page appears empty if your subscription expires (Subscription status: “Your subscription has expired”). To regain access, sign in any time and purchase a paid plan (or renew your suspended plan payment).


Did this page help you?