diff --git a/Flights/README.md b/Flights/README.md index 80e97dc..41c5f21 100644 --- a/Flights/README.md +++ b/Flights/README.md @@ -62,17 +62,16 @@ Download this code directly or use [git](git-scm.org) (through CLI or a client) ### Configure the code -Update the MariaDB connection configuration [here](src/db.js) to point to **your** ColumnStore instance of MariaDB. +Configure the MariaDB connection by [adding an .env file to the Node.js project](https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/master/documentation/promise-api.md#security-consideration). -```js -const pool = mariadb.createPool({ - host: '', - user:'', - password: '', - database: 'flights', - multipleStatements: true, - connectionLimit: 5 -}); +Example implementation: + +``` +DB_HOST= +DB_PORT= +DB_USER= +DB_PASS= +DB_NAME= ``` ### Build the code