234 B
234 B
let sdk = new Appwrite();
sdk setProject('') ;
let promise = sdk.users.createUser('email@example.com', 'password');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });