Skip to content

ritza-co/bryntum-grid-ai-function-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating AI powered columns in Bryntum Grid: starter repository

The code for the Bryntum Grid with AI powered columns is on the completed-app branch.

Getting started

Install the dependencies:

npm install

Install the Bryntum Grid by first getting access to the Bryntum registry using the set up guide. You can then install the Bryntum Grid with one of the following commands:

  • Trial version:
npm install @bryntum/grid@npm:@bryntum/grid-trial
  • Licensed version:
npm install @bryntum/grid

Create and populate a local SQLite database with example reviews data using Sequelize ORM by running the addExampleData Node script:

npm run addExampleData

This creates SQLite database in the root folder, called database.sqlite3, and populates it with example reviews data.

The reviews data model is in the src/models folder. There are four API endpoints in the src/index.ts file for the Bryntum Grid to get reviews data from the local SQLite database and to sync data changes on the client to the database.

Create a .env file and add the following environmental variable to it:

PORT=3000

Run the development server for this Express app using the following command:

npm run dev

Open http://localhost:3000. You will see a Bryntum Grid:

Initial app

Changes that you make to the Bryntum Grid will be saved in the local SQLite database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published