You are viewing Skygear v1 Documentation.Switch to Skygear v0 Documentation

Quick Start

Quick Start Guide

Adding Skygear to your iOS, Android and web apps

Integrating frameworks

Integrating Webpack, Ionic and Angular

User Authentication

User Authentication Basics

User Log-in/Log-out, user access tokens, email and password managements

Social Login

Third-party login, e.g. Facebook, Google

Authenticate with a custom auth system

Integrate authentication server to Skygear using JWT

User Profile Best Practices

Saving and retrieving custom profile attributes

Disabling User Accounts

Learn how to disable a user account

Password Policy

Enforce stronger passwords with Password Policy

SMS Verification

Verify user phone number via SMS

Cloud Database

Cloud Database Basics

Intro to Skygear records, public and private database and Skygear data type

Basic CRUD

Create, update, query and delete Skygear records

More About Queries

Query conditions, paginations and record counts

Relational Records

Create and query Skygear references, eager loading

File Storage

Create and query files in Skygear

Cached query

Working with offline storage

Query Subscriptions

Subscribe to database data changes from the client

Access Control

Access Control Basics

Intro to access control in Skygear

Record-based ACL

Set the ACL of a record type

Field-based ACL

Set the ACL of a record field

Real-time Chat

Quick Start for Chat

Adding Skygea Chat to your iOS, Android and web apps

Skygear Chat Basics

Creating chatrooms, sending and receiving messages with Chat APIs

Skygear Chat Data Models

Data models of Skygear Chat

Chat Event Hooks

Running codes upon chat event such as message sent

Skygear Chat UI Kit

UIKit of Skygear Chat

Skygear PubSub

PubSub Basics

Adding the publish-subscribe functioality to your app with Skygear

Push Notifications

Setting up Push Notification

Setting Push Notification with FCM or APN

Push Notification Basics

Sending push notifications with Skygear

Migrate to FCM from GCM

Migrate existing GCM push notification to FCM


CMS Quick Start

Learn how to configure the CMS for your business users.

Configuring the CMS Record Page

Enable your admins to view, update, and create records.

CMS Field Types

Field types in CMS refers to the UI presentation of a field. Learn more.

Configuring Imports and Exports

Enable your admins to import and export records.

Configuring the User Management Dashboard

Manage your users with the user management dashboard.

Cloud Functions

Introduction to Cloud Functions

The first step to using the Skygear cloud functions to have your codes running on Skygear server

Trigger by Database Event

Running codes upon database events such as creating, updating or deleting records

Trigger by Schedule

Executing your server codes at specified time or intervals

Trigger by Client SDK

Lambda functions can be called from the SDKs to execute your custom codes on Skygear server

Trigger by HTTP Endpoint

Creating your own HTTP endpoint so that external applications can send GET/POST and other requests to your app

Trigger by Restful HTTP Endpoint

Creating your own set of restful HTTP endpoint easily through cloud functions

Trigger by Chat Events

Running codes upon chat event such as message sent

Serving Static Assets

Methods to make your static assets such as images accessible with a URL

APIs in Cloud Functions

Calling Skygear API, using database connections, pubsub, push notifications, and using the master key to impersonate user for the admin

Authenticating Users

Getting the authenticated user ID from the cloud functions, and resetting the password of a user

Error Handling

Error handling in cloud functions


Deploy Skygear Local Server

Reference for deploy Skygear server

Skygear Database Schema

More details about database record tables, reserved columns, schema migration and reserved tables

Custom Authentication Provider

User authentication with third-party service

Error Handling in the SDKs

Handle error with error codes in SDK when operations fail

User Relations

Creating Friends/Followers relationships

Record Storage

Working with the Skygear offline database