Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Commit

Permalink
more README
Browse files Browse the repository at this point in the history
  • Loading branch information
elitan committed Jul 12, 2020
1 parent 3d82b03 commit b9f8e2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Make it easy to use Nhost with React.
- `NhostAuthProvider` - AuthProvider to check logged-in state.
- `NhostApolloProvider` - ApolloProvider preconfigured with authentication for GraphQL mutations, queries and subscriptions.

If you are logged in, the `Authorization` header will be set with your JWT token.
If a user is logged in, the `Authorization` header will be set with your JWT token.

## Initiate

Expand Down Expand Up @@ -39,6 +39,8 @@ ReactDOM.render(

`src/utils/nhost.js`

Learn more about `auth` and `storage` in the [nhost-js-sdk](https://github.com/nhost/nhost-js-sdk) repository.

```js
import nhost from "nhost-js-sdk";

Expand Down

0 comments on commit b9f8e2e

Please sign in to comment.