Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nhost/nhost-js

Nhost JavaScript SDK
https://github.com/nhost/nhost-js

authentication backend database functions graphql javascript sdk storage typescript

Last synced: about 1 month ago
JSON representation

Nhost JavaScript SDK

Awesome Lists containing this project

README

        

# Disclaimer

This package is now part of our [monorepo](https://github.com/nhost/nhost)

------

@nhost/nhost-js


Nhost JavaScript SDK


npm
npm

license: MIT


code style: prettier

## Get Started

### Install

```
npm install @nhost/nhost-js
# or yarn
yarn add @nhost/nhost-js
```

### Initialize

```js
import { NhostClient } from '@nhost/nhost-js';

const nhost = new NhostClient({
backendUrl: 'https://xxx.nhost.run',
});
```

## Features

### GraphQL

Access Nhost Auth methods using `nhost.graphql`.

### Authentication

Access Nhost Auth methods using `nhost.auth`.

### Storage

Access Nhost Storage methods using `nhost.storage`.

### Functions

Access Nhost Functions methods via `nhost.functions`.

## Documentation

[Coming soon](https://docs.nhost.io)