Skip to content

Tabulator + Node + PostgreSQL: Demo of Interactive Data Analytics Web App with Ajax Filtering, Sorting & Pagination

Notifications You must be signed in to change notification settings

ncwhh/tabulator-ajax-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Data Analytics Web App with Ajax Filtering, Sorting & Pagination

This project demonstrates a interactive data analytics web app build with Tabulator, a powerful JavaScript library for creating tabular interfaces. It showcases connecting Tabulator to a PostgreSQL database for displaying large datasets with features like pagination, sorting, and filtering handled efficiently by the database.

Demo Screenshot

Getting Started

Prerequisites:

Running the Demo:

1. Database

cd database
bash build.sh # build docker image
bash run.sh   # run docker container

2. Backend

cd backend
npm install # install dependencies
npm run dev # start development server

3. Frontend

cd frontend
npm install # install dependencies
npm run dev # start development server

Data

The web app shows dummy data generated with Faker.js to represent a webshop's conversion funnel.

Security

This is a demonstration project, and security best practices are not fully implemented. However, to mitigate potential SQL injection vulnerabilities, basic Ajax parameter validation with regular expressions is included.

About

Tabulator + Node + PostgreSQL: Demo of Interactive Data Analytics Web App with Ajax Filtering, Sorting & Pagination

Topics

Resources

Stars

Watchers

Forks