Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ahmedbhameed/nocknock-sdk

Onboarding sdk for nodeys back-end server.
https://github.com/ahmedbhameed/nocknock-sdk

Last synced: 27 days ago
JSON representation

Onboarding sdk for nodeys back-end server.

Awesome Lists containing this project

README

        

# nocknock-sdk

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![npm version](https://badge.fury.io/js/nocknock-sdk.svg)](//npmjs.com/package/nocknock-sdk)
[![travis](https://travis-ci.com/AhmedBHameed/nocknock-sdk.svg?branch=main)](https://travis-ci.com/AhmedBHameed/nocknock-sdk.svg?branch=main)

Onboarding sdk for `nodeys` back-end server.

> Nodeys is a private project with echosystem micro services.

### Usage

```bash
npm i nocknock-sdk axios
OR
yarn add nocknock-sdk axios
```

### Importing library

```typescript
import {init} from '../src/nocknock-sdk'

const auth = init({baseURL: 'https://www.your-graphql-domain.com'});

auth.login(...);
auth.signup(...);
auth.resetPassword(...);
auth.forgotPassword(...);
auth.logout(...);
```