refactor: squash commits

This commit is contained in:
dec0dOS 2021-03-21 22:25:13 +03:00
parent 63ebcb5915
commit 1e6e237aa3
107 changed files with 20077 additions and 0 deletions

8
backend/utils/db.js Normal file
View file

@ -0,0 +1,8 @@
const low = require("lowdb");
const FileSync = require("lowdb/adapters/FileSync");
const adapter = new FileSync(process.env.ZU_DATAPATH || "data/db.json");
const db = low(adapter);
module.exports = db;