Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nhost/nhost-js
- Owner: nhost
- Archived: true
- Created: 2021-06-27T15:52:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-15T15:41:46.000Z (almost 3 years ago)
- Last Synced: 2024-12-04T09:34:27.172Z (about 1 month ago)
- Topics: authentication, backend, database, functions, graphql, javascript, sdk, storage, typescript
- Language: TypeScript
- Homepage: https://nhost.io
- Size: 2.29 MB
- Stars: 5
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
## 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)