Cloud Code Tutorials
Welcome to the brainCloud Cloud Code tutorials.
The following pages will help you to get up-and-running writing your first Cloud Code scripts.
Cloud Code Tutorials:
- Background - General overview of how Cloud Code works
- Tutorial 1 - Your First Script
- Tutorial 2 - Making API Calls
- Tutorial 3 - Working with Global and User Entities
- Tutorial 4 - Pre and Post Hooks
- Tutorial 5 - External Web Services
- Tutorial 6 - S2S Scripts
📄️ CC Tutorial - Background
Background
📄️ CC Tutorial1 - Your First Script
In this tutorial, we'll go through the basics of creating a Cloud Code script, and teach you how to pass parameters to/from a script.
📄️ CC Tutorial2 - Making API calls
In this tutorial, we'll explain how to make brainCloud API calls from within Cloud Code scripts.
📄️ CC Tutorial3 - Working with Entities
This tutorial uses brainCloud's Global and User Entity features.
📄️ CC Tutorial4 - Pre and Post Hooks
Pre and Post Hooks allow you to attach Cloud Code scripts to brainCloud's Client API - in effect, "hooking" into the API either before (pre) or after (post) the API method has been executed.
📄️ CC Tutorial5 - External Web Services
brainCloud provides an HTTP Client proxy object, retrieved via the bridge, that allows you to make HTTP GET requests to external 3rd party servers.
📄️ CC Tutorial6 – S2S Scripts
Want to create S2S cloud code script, but don't know where to start?