This example app uses Knock to power in-app notifications. It uses the Knock Node SDK and Knock React SDK.
- Install dependencies from the root of the monorepo.
yarn-
Make sure the packages have been built by running
yarn buildoryarn devfrom the root of the monorepo. -
Configure the environment variables. Copy
.env.sampleto.env.development.localand add the relevant API keys and channel id from your Knock dashboard. -
Run the example app
yarn dev- Open the example app at localhost:3000.
