Website: www.flexmonster.com
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 sample servers that demonstrate how to implement the custom data source API.
The custom data source API is a communication protocol designed to retrieve aggregated data from a server to Flexmonster Pivot. The server is responsible for fetching, processing, and aggregating data, which is then passed to Flexmonster in a ready-to-show format.
Table of contents:
For the sample Node.js server:
For the sample .NET Core server:
- Download a
.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 && cd api-data-source
-
Run the project in 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
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.
For details on usage, refer to our documentation: