RestBI Documentation
  • Welcome to RestBI
  • Getting Started
    • Quickstart Guide for RestBI
    • Installation
      • Docker Compose
      • Kubernetes
  • Object Definitions
    • Data Model
      • Model
      • Connection
      • Table
      • Join
      • Column
      • Formula
      • ValidationResult
    • Query
      • Query
      • QueryFilter
      • SQLResult
  • SDK
    • Overview
    • Reference
      • RestBIClient
      • executeQuery
      • getMetadata
      • validateModel
  • API
    • Overview
    • Reference
      • POST /query
      • POST /validate
      • POST /metadata
      • GET /
  • Examples
    • RestBI Demo App
      • Installation
      • Report Builder
      • Drill Anywhere
      • Model Helper
Powered by GitBook
On this page
  • Get the Database
  • Start Your RestBI Server
  • Install the Demo Application
  1. Examples
  2. RestBI Demo App

Installation

PreviousRestBI Demo AppNextReport Builder

Last updated 9 months ago

Get the Database

If you have a connection you want to work with you are welcome to. For this demo we have used a database that contains 3 very common analytic sample datasets: AdventureWorks, Ssakila, and Chinook.

For convenience we have created a container where these 3 datasets are installed into a PostgreSQL database.

docker pull restbi/example-db:latest

Run the image:

docker run -d -p 5433:5432 restbi/example-db:latest

Start Your RestBI Server

If you havnt already installed RestBI head to the to do this.

docker run -d -p 3000:3000 restbi/restbi-server:latest

Install the Demo Application

Clone the git repo into a directory on your computer.

git clone https://github.com/restbi/example-report-builder.git

Install the dependencies

npm install

Run the application

npm start

Quick Start