generated from lucien/api-template
add: added user pages, and last messages to the home page
This commit is contained in:
parent
d7af341ca2
commit
87e7c44a5b
10 changed files with 155 additions and 31 deletions
|
@ -1,6 +1,6 @@
|
|||
const express = require('express');
|
||||
const jwt = require('jsonwebtoken');
|
||||
const { getConnection, getUser, getChannels, getChannel, addChannel, getMessages, addMessage, deleteMessage } = require('../libs/mysql');
|
||||
const { getConnection, getUser, getChannels, getChannel, addChannel, getMessages, addMessage, deleteMessage, getLastMessages } = require('../libs/mysql');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue