const db = require("../db.js"); const userRepository = { login: function(){ }, register: function(obj){ }, getByID: function(id){ return db.get("user:" + id); }, } module.exports = userRepository;