Restructured and organized the whole project, fixed SQLite database handler (now using better-sqlite3), made first model functions to interact with the database
This commit is contained in:
parent
99591a7191
commit
0ee5eedcfd
14 changed files with 140 additions and 854 deletions
0
src/routes/modpacks.js
Normal file
0
src/routes/modpacks.js
Normal file
11
src/routes/mods.js
Normal file
11
src/routes/mods.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const express = require("express");
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
// List mods
|
||||
router.get("/list", async (req,res) => {
|
||||
console.debug("Accessing mods list");
|
||||
res.send("No list yet");
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
Loading…
Add table
Add a link
Reference in a new issue