1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00
appwrite/docs/sdks/js.md
2019-10-09 21:55:28 +03:00

313 B

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
;