1 const sqlite3
= require('sqlite3');
2 const path
= require('path');
3 const params
= require("../config/parameters")
5 if (params
.env
== "development") sqlite3
.verbose();
7 const DbPath
= __dirname
.replace(
9 `${path.sep}db${path.sep}vchess.sqlite`);
10 const db
= new sqlite3
.Database(DbPath
);