Skip to content

flexmonster/api-data-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexmonster custom data source API server

Flexmonster Pivot Table & Charts Website: www.flexmonster.com

Flexmonster Pivot Table & Charts

Flexmonster Pivot is a powerful JavaScript tool for interactive web reporting. It allows you to visualize and analyze data from JSON, CSV, SQL, NoSQL, Elasticsearch, and OLAP data sources quickly and conveniently. Flexmonster is designed to integrate seamlessly with any client-side framework and can be easily embedded into your application.

This repository holds the source code for a project that demonstrates how to implement the custom data source API.

Flexmonster custom data source API is designed for summarized data retrieval from a server to Flexmonster Pivot. This API will work for projects with their own data access layer, where filtering and aggregation are delegated to a server and Flexmonster receives ready-to-show data.

The table of contents:

Prerequisites

To run the custom data source API project, you will need Node.js and npm. Get it here if it's not already installed on your machine.

Installation

  1. Download the .zip archive with the sample project or clone it from GitHub with the following command:
git clone https://github.com/flexmonster/api-data-source.git
  1. Run the project using one of the following ways:

    • To start the sample Node.js server:
    cd server-nodejs npm install npm start 
    • To start the sample .NET Core server:
    cd server-dotnetcore dotnet restore dotnet run 

Usage

For details on usage, refer to our documentation:

Tests

If needed, you can check a custom data source API server with our test suite. Run the tests with the following commands:

 cd tests npm install npm test 

Note that these tests will work only if one of the sample servers is running. To learn how your server can be tested, see our documentation.

About

Flexmonster custom data source API server to load and visualize the data from any data source

Topics

Resources

License

Stars

Watchers

Forks

Contributors 11