This is an example which uses Node.js as the runtime environment and ClickHouse, which is a column-oriented database management system.
- Create a ClickHouse cluster.
- Setup the connection by setting following environment variables:
DB_HOST
,DB_USER
,DB_PASS
(you can study the fallback values here.) - Install the script dependencies:
$ npm install