nhost-js-sdk

With the nhost-js-sdk you get easy access to handle auth and storage for your app.

Install nhost-js-sdk with npm

npm install --save nhost-js-sdk

Next, configure your nhost instance with your nhost project.

import nhost from 'nhost-js-sdk';
const config = {
endpoint: 'https://backend-xxxxxx.nhost.io/'
};
export default new nhost(config);