## Testing In order to run tests (`npm run test`) which is also the preferred way of further developing the library (write test and make sure that it passes) you need to first have a local solid community server running, and you need to get credentials th
npm install consolid-apinpm run test) which is also the preferred way of further developing the library (write test and make sure that it passes) you need to first have a local solid community server running, and you need to get credentials that you copy-paste to the credentials.js file.npm install -g @solid/community-servercommunity-solid-servernpx @inrupt/generate-oidc-tokenMy Solid Identity provider is not on the list and type http://localhost:3000/No ("Has your app been pre-registered by the administrator of the Pod server you are signing in to?)consolid)``json`
{
"refreshToken" : "BB",
"clientId" : "AA",
"clientSecret" : "XX",
"oidcIssuer" : "http://localhost:3000/",
}
When running the demo you do not need to do the get session token step. Simply login using the button.
* cd demonpm install
* ng serve
*
* http://localhost:4200
command. This generates the lib folder and its content. We build ESM and UMD bundles that can be directly included in an HTML document. Furthermore, we build a CommonJS and an ESM version.Bundles are build using the configuration in
rollup.config.js.Use
$3
* npm i --save consolid-api
* npm i --save-dev @types/node
* Add to tsconfig.json:
`json
"angularCompilerOptions": {
...
"types" : ["node"]
}
`
* Add to package.json
`json
"browser": {
"buffer": false
}
``