This repository is dedicated to generating dummy data and a sample dashboard that mirrors a company that manages digital document signatures in real-time. This tool is particularly useful for testing and development purposes.
- Node.js < v. 18
- Python < v. 3.8
- Setup your Tinybird account
Click this button to deploy the data project to Tinybird 👇
Follow the guided process, and your Tinybird workspace is now ready to start receiving events.
- Setup this repository locally
git clone https://github.com/tinybirdco/signatures-POC.git
cd signatures-POC
- Install dependencies
npm install
- Setup Tinybird CLI
The install script above will automatically install and configure the tinybird-cli
for this project.
Choose your region: 1 for us-east
, 2 for eu
. A new .tinyb
file will be created.tb
Go to https://ui.tinybird.co/tokens and copy the token with admin rights.
This script will also push the data project to your Tinybird workspace.
- Start generating data!
In the terminal, run the following command:
npm run seed
Go to your Tinybird workspace and check the data is flowing.
- Setup the
organizations
materialized view
Go to the all_unique_organizations
pipe in your Tinybird workspace and click the dropdown carrot button next to "Create API Endpoint, and select "Create Materialized View". This will create the organizations
materialized view data source in your workspace.
- Copy the environment variables to .env
Locally, be sure to paste the admin token from Step 3 into the .env
file.
- Run the Dashboard locally
npm run dev
- Open http://localhost:3000 with your browser to see the result.
This project is licensed under the MIT License.
• Community Slack • Tinybird Docs •