knock-javascript/examples/client-example at main · granolocks/knock-javascript · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Knock JavaScript Client Example

This example app demonstrates how to use the Knock JavaScript client.

Running locally

  1. Install dependencies from the root of the monorepo.
yarn
  1. Make sure the packages have been built by running yarn build or yarn dev from the root of the monorepo.

  2. Configure the environment variables. Copy .env.sample to .env.development.local and add the relevant API keys and channel id from your Knock dashboard.

  3. Run the example app

yarn dev
  1. Open the example app at localhost:3001.