Skip to main content
Back to examples
Backend & integrations/Node.js
Node.js

This example runs from source. Open the repository to clone, build, and run it locally.

Open on GitHub
Backend & integrations

Node.js

A Node.js and Express server that loads Gantt tasks and links from MySQL and saves every edit back over REST.

# dhtmlxGantt with Node.js

[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/)

Implementing backend for [DHTMLX Gantt](https://dhtmlx.com/docs/products/dhtmlxGantt/) using Node.js and Express.

### Requirements

- Node.js
- MySQL

### Installation

1. `npm install`
2. Create database and import **schema.sql**
3. Update connection settings in **server.js**

### Run

- `node server.js`

### Related resources

[Complete tutorial](https://docs.dhtmlx.com/gantt/integrations/node/howtostart-nodejs/)

[Article in our blog](https://dhtmlx.com/blog/dhtmlxgantt-with-nodejs/)

[Video tutorial](https://www.youtube.com/watch?v=D8YzyzBfyP8&feature=youtu.be&ab_channel=dhtmlx)

[DHTMLX Gantt product page](https://dhtmlx.com/docs/products/dhtmlxGantt/)

[Documentation](https://docs.dhtmlx.com/gantt/)

### Support Us

Star our GitHub repo :star:

Check our [roadmap](https://trello.com/b/fhOySHPj/gantt-roadmap) for future updates :wrench:

Read us on [Medium](https://medium.com/@dhtmlx) :newspaper:

Follow us on [Twitter](https://twitter.com/dhtmlx) :bird:

Like our page on [Facebook](https://www.facebook.com/dhtmlx/) :thumbsup: