# SMF Fan Response API Example

This example demonstrates how to post messages using the SMF Fan Response API.

## Setup

```bash
cp .env.shadow .env
```
Populate the `.env` file with the appropriate values.


## install dependencies
```bash
npm install
```

## run the example
```bash
source .env
npm start
```

## Usage

This is a simple express-based app with a single endpoint that sends a message to the SMF Fan Response API.
Once the app is running, you can hit `http://localhost:3000/new-message` endpoint, this will do the following:

1. Request a new JWT from Auth0
2. Cache the JWT
3. Send a message to the SMF Fan Response API using the JWT
4. Log the response from the SMF Fan Response API
5. Return the response from the SMF Fan Response API to the client

