1
0
Fork 0
mirror of synced 2024-07-03 05:31:38 +12:00
appwrite/docs/sdks/js.md

16 lines
313 B
Markdown
Raw Normal View History

2019-10-10 07:55:28 +13:00
## Getting Started
Initialise the Appwrite SDK in your code, and setup your API credentials:
```js
// 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
;
```