'use strict'; const db = require ('../db'); const { http } = require ('@sapphirecode/consts'); module.exports = async (req, res) => { const apps = await db.app.get_all (); res.status (http.status_ok) .json (apps); };