add: added some api endpoints

This commit is contained in:
Lukian 2025-04-23 08:25:25 +02:00
parent 217c763abd
commit 736f097d20
4 changed files with 89 additions and 5 deletions

9
back/api/accounts.js Normal file
View file

@ -0,0 +1,9 @@
const express = require('express');
const { getConnection, getUserAccounts } = require('../libs/mysql');
const { checkAuth } = require('../libs/middlewares');
const router = express.Router();
module.exports = router;