Space Cloud comes with a whole bunch of features to help you build realtime and scalable apps:
The database module is the core of Space Cloud. It allows you to perform CRUD operations on your database directly from the frontend.
Supported databases ❤ :
Although the database module of Space Cloud is schemaless, it lets you optionally provide a schema via Mission Control for these added benefits:
Space Cloud allows you to perform a wide variety of CRUD operations:
With Space Cloud, you can query your data in 3 ways:
count
, min
, max
, sum
, avg
.You can also request data from multiple databases within a single request.
Space Cloud also supports slicing and dicing of the requested data with the following operations:
Mutations are used to make changes to your data. Following mutations are supported in Space Cloud:
The following operations are supported in update
- set
, inc
, mul
, max
, min
, currentDate
, push
, unset
and rename
.
Subscriptions is used to sync data in realtime. You can subscribe to the data you are interested in, and Space Cloud guarantees to notify you whenever anything changes in that result set.
With the file storage module your frontend can:
Supported storage mechanisms are:
Services are a means to extend Space Cloud using microservices and serverless functions. You can write your microservices in the form of HTTP services that run alongside Space Cloud. These services can be accessed securely via GraphQL or directly.
Notable features of Remote services:
Eventing module is used to asynchronously trigger your microservices or serverless functions (e.g., AWS Lambda functions) based on any events in your app.
All event triggers are:
All requests to the database, file storage and remote services go through the authorization layer.
The authorization layer decides whether the request should be allowed or not based on the security rules you have provided in Mission Control and the JWT token present in the request.
Security rules allow you to:
create
, read
, update
, delete
) level rules for each collection / table
(eg: delete operation in posts
collection).create
, read
, delete
) level rules for each path prefix.The Deployments Module automatically deploys and scales your docker images on any Kubernetes cluster. It has first-class support of Istio. Hence all your services enjoy the benefit of using a Service Mesh.
In a nutshell, the deployments module lets you: