Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 981 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 981 Bytes

Hellō Quickstart

CLI

You can run the following command to create or retrieve the client_id for a Hellō Application.

npx @hellocoop/quickstart@latest

This will open up a browser window, where you will need to login with Hellō, and then choose to create a new app, or return the client_id.

Import Package

This package is useful for platform specific installers such as Hellō Quickstart for Next.js

To install in another package

npm i --save-dev @hellocoop/quickstart

You can then use call Quickstart fom another configuration script

import quickstart from '@hellocoop/quickstart';

...
const response_uri = 'http://localhost:8080'
const client_id = await quickstart({
    response_uri
})

There are many options that can be passed to Quickstart. See the Quickstart API for details.