Some advances. TODO: test board.js, and then game.js, and then implement room.js
[vchess.git] / utils / database.js
1 const sqlite3 = require('sqlite3');
2 const DbPath = __dirname.replace("/utils", "/db/vchess.sqlite");
3 const db = new sqlite3.Database(DbPath);
4
5 module.exports = db;