Clojure(Script) library for the Skygear BaaS
This project aims to provide a functional API to work with Skygear, simplicity and flexibility are primary design goals.
The API is based on the promesa promise library.
- Promise-Based API
- Lambdas / Cloud Functions
- Users
- Sign Up (email/username)
- Login (email/username)
- Login (auth provider)
- Change Email/Username
- Change Password
- Record Query
- Query Conditions
- Result Sorting
- Result Limit & Pagination
- Record Saving
- Public Access Control
- User Access Control
- Role Access Control
- Basic Data Types (bool, int, float, string, inst)
- Arbitrary Clojure Data (serialized with transit)
- Array Collection Type (contain query)
- Reference Type (query by record / cascaded retrieval)
- Geolocation Type (distance query)
- Asset Type
- Sequence Type
- Events
- Init WS Connection
- Client Events (online, offline, user change)
- Data Events (listen for data changes)
- Custom Events (pub/sub)
Note: "User Profile" feature is part of Record Saving with the
record type of user
.