- const db = require("../db.js");
- class DecksRepository {
- //TODO continue
- getDecksByUser(userid) {
- }
- }
- let decksRepository = null;
- function getSingleton() {
- return decksRepository = (decksRepository === null ? new DecksRepository(): decksRepository);
- }
- module.exports = getSingleton();
|