Skygear Oct updates: Database Dashboard & Skycli

serverless platform skygear

At Skygear, we’re committed to building a serverless solution that is convenient for developers to use while remaining flexible.

This month, we’re excited to announce an update for the Skygear Database Dashboard. The database dashboard is a convenient interface for developers to make quick edits to database records via the Skygear developer portal.

We also have exciting updates for our Skygear Cloud Functions developers! We’ve launched Skycli, a new command line tool to deploy Cloud Functions quickly. No prior Git knowledge required!

Database dashboard – easier way to manage Cloud DB

While developers can manage their Skygear database with any PostgreSQL client, a simpler way to update the records in the database would save a lot of time. Developers can now access the database dashboard in the developer portal.

This is what you can do with the database dashboard.

  • Create, update and bulk delete records
  • Read system default records
  • Export records to CSV file

In the future, we want the database dashboard to support the following items as well:

  • Create or delete indexes
  • Change the schema of the database, such as adding new columns. (However Skygear Database provide a document-like interface so it handle schema automatically when you save records)
  • Create or delete foreign key constraints. (Note: it is now handled by Skygear automatically when you create References between records.)

For now, you can do the above with direct access from PostgreSQL clients.

Skycli – Command line tools to deploy Cloud Functions

We have also introduced Skycli, which allows developers to deploy cloud functions with a command line interface. In the past, users had to git push cloud functions to a custom git repository. Now, developers can deploy their cloud functions with just 1 command: skygear deploy!

The skycli can only be used to deploy the Skygear Cloud Functions at this time, we will add more features in coming months. skycli needs to know the account credentials and the name of the app to deploy to.

Step 1: npm install -g skycli to install skycli in your app project
Step 2: skycli login to log in to your Skygear account
Step 3: skycli init to configure the project to a Skygear app (app name)
Step 4: skycli deploy to push code to servers

In Step 3: We also made it easier for developers to quick start by providing cloud function templates. When they run skycli init, developers will be asked questions such as whether they are building a JS or Python cloud function. Skygear then creates the relevant files in the project directory.

In the future, we want Skycli to support additional features that developers would want in the web portal, such as changing env vars, looking at logs, etc.

For more information, check the Github Skygear repo ReadMe. You can also find the details in the developer portal.

Deploy cloud functions with Skycli.

If you would like support in using these new features, get in touch with our team on the Skygear Slack Channel or the Skygear Forum.

Last but not least, Happy Halloween 🎃

Get started on Skygear for free now!

Building a Simple Blog from Scratch with Skygear with JS


In this tutorial, we will build a simple blog with Skygear.

Skygear is an open-source serverless platform that has features such as a cloud database, authentication, pubsub, push, chat, and event tracking.

If you are new to Skygear, this is the right tutorial to get started.  You will learn how to save and retrieve records from the Skygear cloud database with the record APIs. Cloud database is the fundamental of most applications nowadays, and Skygear record APIs offer a simple way for developers to interact with the cloud database.
Continue reading “Building a Simple Blog from Scratch with Skygear with JS”

Skygear 1.0 Released: API Regrouping to Improve Discoverability

serverless platform skygear

We are excited to announce the release of Skygear v1.0. In this release, we’ve improved the discoverability of APIs to help developers build web and mobile apps more quickly on our serverless platform.

Existing apps will stay on Skygear v0.24. Please remember to pin your SDK at v0.24 or lower as well. Migration documentation for apps developed with v0.24 are coming soon!
Continue reading “Skygear 1.0 Released: API Regrouping to Improve Discoverability”