This hyper client is an opinionated client that provides a wrapper for data, cache and search apis. The api takes an app name, key name, secret, and url for your hyper service. The app name is passed as the sub in the generated access token, which will show through on the logs.
In your API project directory run npm install
For best results, we recommend you consider using crocks as a per utility library with the client. The client currently return the Async data type when you make calls for extensibility.
When creating the client you need to supply the client with four parameters:
When using the client you will want to make sure your data, cache and search stores are setup.
These commands are idempotent which means that the first time they run they will create the data, cache, and search containers, but if the containers already exist then they will simply return an ok. This way you can init your containers every time your service is launched and you don't have to worry about it.
Source Code 💻
Need specific help? you can always reach out to our support team for any additional assistance at checkout our help desk