Save current state (unmerged, broken, not working...)
[vchess.git] / utils / database.js
diff --git a/utils/database.js b/utils/database.js
new file mode 100644 (file)
index 0000000..39c7e5e
--- /dev/null
@@ -0,0 +1,5 @@
+const sqlite3 = require('sqlite3');
+const DbPath = __dirname.replace("/utils", "/db/vchess.sqlite");
+const db = new sqlite3.Database(DbPath);
+
+module.exports = db;