add default export to db and package module,

start grouping routes by type,
use dynamic imports and express routers
This commit is contained in:
2023-07-27 20:10:46 +00:00
parent ae58a18c9a
commit aae3bb14c0
14 changed files with 1327 additions and 1191 deletions

View File

@@ -1,2 +1,2 @@
import { readFileSync } from "fs";
export const api = JSON.parse(readFileSync("package.json"));
export default JSON.parse(readFileSync("package.json"));