This repository is an example React app bootstrapped with Create React App with Typescript to demo the functionality of the @trycourier/react-toast and @trycourier/react-inbox.
@trycourier/react-provider is a dependency that handles all the authentication and integration with the Courier backend.
You can quickly configure and trigger a simple Toast notification on this page. To run this locally, you will need a Courier account and enable the Courier Push integration.
- Node.js (v18)
- yarn
Clone the repository and install the dependencies:
$ yarn install
Fill in your Courier Client Key and Courier Test or Production Key in .env file. Find them in API Keys
cp .env.example .env
Start the dev server:
$ yarn develop