This is an open npm package that will be used by developers to consume the services provided by the local-database-hosting service
Follow the steps.
- Go to our official web-portal
- Login/Sign up as developer.
- 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
- 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.
- You might store them in .env file or direct in variables.
- After that in your react project run the command :
npm install ldh-react
- Now import
import {LocalDatabaseHosting} from 'ldh-react'
- Use the above stored values to configure an object of ldh.