# dpa-agenda widget for dpa news-hub

This project contains a widget for the dpa news-hub desk that integrates dpa-agenda

## Testing within the project

The widget needs a valid access token to perform API calls. You can add it in the provide function in `playground/App.vue`, but be sure not to commit it. Alternatively, since the access token will quickly expire, you can also provide a longer-lived agenda token in `src/DpaAgendaWidget.vue` and side-step the whole access token exchange while developing.

To test the widget within this project, without having the news-hub running run:

```sh
pnpm install
pnpm run dev
```
