Skip to content

R-D-P/nhost-js-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nhost-js-sdk

Auth

  • register
  • activate account
  • sign in
  • implement refetch token strategy
  • new password

Storage

  • Upload
  • Download

usage

const config = {
  endpoint: 'http://localhost:8083',
};

const nhost = new nhost(config);

Examples

Register user

await nhost.register(username, password);

Upload files

const res = await nhost.upload(path, files, onUploadProgress);

Get full URL of file

const url = nhost.url(file_key);

About

nhost.io JavaScript SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%