This repository provides high-performance LightningChart JS (LCJS) integration examples for modern web frameworks. Created as a Bachelor’s Thesis for Savonia UAS (commissioned by LightningChart Ltd.), the goal is to make LCJS integration simple and fast for developers.
Clone the repository and install all workspace dependencies from the root folder:
npm install
A valid LightningChart JS license key is required for the charts to function.
-
Copy the
.env.examplefile to a new file named.envin the project root. -
Replace the placeholder with your actual license key:
VITE_LCJS_LICENSE="license key goes here"
Starts the Node.js backend and the Vite development server for the viewer application.
npm run dev
Open the local URL shown in your terminal (usually localhost:5173).
Compiles all assets and serves them via a local production-grade server to simulate a real deployment.
npm run build
npm run serve
The application environment is configured at launch to operate in one of two modes:
-
Local Mode: A full-stack environment using the Node.js
/backendand a SQLite database. This mode supports real-time data streaming via WebSockets and persistent data storage. -
Browser Mode: A standalone client-side version. It uses internal data generators for interactive previews, requiring no external backend or database.
This project features a modular documentation suite specifically generated for Large Language Models (LLMs). It provides AI assistants with the necessary context to help you with framework-specific implementations.
-
Modular Context: The system generates targeted documentation files located in the
/backend/llmsdirectory (e.g.,full.txtand framework-specific versions). -
Auto-update: The documentation is automatically updated during
npm run devandnpm run build. -
Manual Update: You can manually trigger the generation by running
npm run generate-llmsin the root folder. -
Access: When running in Local Mode, the documentation index is served at
/llms.txt.
/backend: Node.js server with SQLite for local data storage and real-time streaming./docs: Project documentation./frameworks: Source code for React, Vue, Angular, Svelte, and Vanilla JS./shared: Shared types, reusable logic, and mock data generators./viewer: The main UI app that integrates scenarios and displays source code.
- Author: Jenni Mikkonen
- Target completion: August 2026