JSPM

  • Created
  • Published
  • Downloads 38634
  • Score
    100M100P100Q163251F
  • License BSD-3-Clause

Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)

Package Exports

  • appwrite

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (appwrite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Appwrite SDK for JavaScript

License Version

This SDK is compatible with Appwrite server version 0.3.0. For older versions, please check previous releases.

Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to https://appwrite.io/docs

Appwrite

Installation

NPM

To install via NPM:

npm install appwrite --save

If you're using a bundler (like Browserify or webpack), you can import the Appwrite module when you need it:

import * as Appwrite from "appwrite";

CDN

To install with a CDN (content delivery network) add the following scripts to the bottom of your tag, but before you use any Appwrite services:

<script src="https://cdn.jsdelivr.net/npm/appwrite@1.0.26"></script>

Getting Started

Initialise the Appwrite SDK in your code, and setup your API credentials:

// Init your JS SDK
var appwrite = new Appwrite();

appwrite
    .setEndpoint('http://localhost/v1') // Set only when using self-hosted solution
    .setProject('455x34dfkj') // Your Appwrite Project UID
;

License

Please see the BSD-3-Clause license file for more information.