Skip to content

This is an open npm package which will be used by developers to consume the services provided by local-database-hosting service

Notifications You must be signed in to change notification settings

zeeshan-thedeveloper/ldh-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

About ldh-react

This is an open npm package that will be used by developers to consume the services provided by the local-database-hosting service

How to use it?

Follow the steps.

  1. Go to our official web-portal
  2. Login/Sign up as developer.

image

  1. Then go to option: "Generate token " and select the host and validation time. And hit the generate button. For futher information about how to get connected to hosts please visite our official integration

image

  1. After that you will get the following screen. Just hit the buttons and copy the accessToken, accessUrl and Secret key and store it somewhere in your application.

image

  1. You might store them in .env file or direct in variables.

image

  1. After that in your react project run the command : npm install ldh-react
  2. Now import import {LocalDatabaseHosting} from 'ldh-react'
  3. Use the above stored values to configure an object of ldh.

image

  1. Then use async and wait to execute your queries with the following method. image

  2. Hurrah ... you have accessed the remote local database.

About

This is an open npm package which will be used by developers to consume the services provided by local-database-hosting service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published