GithubHelp home page GithubHelp logo

lamdavo / livestream_tremor_ecommerce_analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinybirdco/livestream_tremor_ecommerce_analytics

1.0 0.0 0.0 118 KB

License: Apache License 2.0

JavaScript 5.55% TypeScript 93.82% CSS 0.63%

livestream_tremor_ecommerce_analytics's Introduction

Tinybird + Tremor eCommerce Analytics

This repo is a demo application showing you how to build an eCommerce analytics dashboard using Tinybird and Tremor.

You can find the live stream for this demo here.

Running the demo

  1. Create a Tinybird account
  2. Copy your Auth Token from your empty Tinybird Workspace
  3. Clone this repo
  4. Inside the repo folder, go to the tinybird folder and create a new virtual python environment python3.11 -m venv .venv
  5. Activate the Python virtual environment source .venv/bin/activate
  6. Install the Tinybird CLI pip install tinybird-cli
  7. Authenticate the Tinybird CLI tb auth and paste your Auth Token when asked
  8. Push the Tinybird resources to Tinybird tb push
  9. Go back to the main repo folder, then enter the dashboard folder
  10. Create a .env.local file, and use the following template:
NEXT_PUBLIC_TINYBIRD_TOKEN=<my token>
  1. Replace the <my_token> string with the Auth Token you copied earlier, save the file
  2. Install the npm dependencies npm install
  3. Run the development server npm run dev
  4. You should now have a functional dashboard, but you won't have any data
  5. To generate fake data, use Mockingbird
  6. Select the Tinybird Destination
  7. Enter your Auth Token into the Auth Token box
  8. Set the Data Source name to sales_events
  9. Click Continue
  10. Copy the contents of the sales_event.json files, and paste it into the Schema box in Mockingbird
  11. Click Start Generating
  12. You should now get mock data arriving in Tinybird, and your dashboard should start to populate

livestream_tremor_ecommerce_analytics's People

Contributors

christopherkindl avatar mitrotasios avatar sdairs avatar severinlandolt avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.