This Node application demonstrates a simple, barebones Metabase dashboard embedded in a web application.
-
Metabase. You should have already completed the setup detailed in the README for this repository, which shows you how to get an instance of Metabase up and running in the metabase directory of this repository.
-
Node. You'll need Node installed on your machine to run the application.
-
Yarn. You'll need the Yarn package manager to install the application's dependencies.
-
In a new terminal session,
cd
into this directory. -
Run
yarn install
to install the application's dependencies. -
Once the application dependencies are installed, run:
node index.js
- Open your browser to localhost:3001.
Explore the app to learn more about embedding Metabase charts and dashboards in applications. You can also check out the links to more documentation in the parent repository's main README.
You can find example code for Metabase embeds for:
- Charts. See views/chart.pug.
- Dashboards. See views/dashboard.pug.