Skip to content

liveloveapp/legendary-octo-waddle

Repository files navigation

Courier Demo

This is a proof-of-concept demonstrating a Courier SDK built on top of web components, with native-feeling wrappers for Angular and React.

Structure

  • SDK Implementations
    • Web: Standard web components (Location: projects/web)
    • React: React wrapper for the web components (Location: projects/react)
    • Angular: Angular wrapper for the web components (Location: projects/angular)
  • Examples
    • Example apps demonstrating the usage of SDKs in various environments (Location: examples)
      • examples-web: Plain web component usage example
      • examples-react: React example using the React wrapper
      • examples-angular: Angular example using the Angular wrapper

Prerequisites

Getting Started

Set Up the Development Environment

  1. Install Node.js via NVM
    Before proceeding, ensure you're using the correct Node.js version. Navigate to the project root and execute:
nvm use
  1. Install Dependencies
    Install the necessary Node.js dependencies using:
npm install
  1. Set up your dotenv file
    Copy example.dotenv to .dotenv and replace the example values with your Courier client ID, the user ID of a user configured in Courier, and the Courier tenant ID

Running the Examples

You can serve the example apps using the following:

  • Angular
npx nx serve examples-angular
  • React
npx nx serve examples-react
  • Web
npx nx serve examples-web

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published