Skip to content

datashare-public/sasspay-demo

Repository files navigation

Sasspay Demo

SassPay is a sample application designed to show off DataShare. It demonstrates how you might go about implementing visualizations and dashboards into your application. This demo is a simple NextJS app.

You can view the demo live at sasspay.io.

This project utilizes the @datashare/react package for its integration.

Framework Integration

The datashare framework integration is done in two pieces:

  • backend code to generate your secure user tokens such as the end user id handler
  • frontend code to integrate the DataShareProvider into your app

Visualization

Visualizations can be rendered using the DataShareVisualization component. See visualization.tsx for an example.

Dashboard

Dashboards can be rendered using the DataShareDashboard component. See dashboard.tsx for an example.