added actions, routes, and socketio bun engine

This commit is contained in:
PrimarchPaul
2025-09-27 02:52:38 -04:00
parent 007a5a6d84
commit 58abd3c241
4 changed files with 135 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
import { Hono } from "hono"
const actions = new Hono()
actions.post("actions/message/:id", (c) => {
//todo: pass service function to send a message to user id
})
actions.delete("actions/message/delete/:id", (c) => {
//todo: pass service function to delete a message by user id
})
actions.get("actions/message/all/:userId", (c) => {
//todo: pass service function to fetch all messages f a user
})
actions.get("actions/:id", (c) => {
//todo: pass service function to fetch user data by id
})
actions.get("actions/userChannels/:id", (c) => {
//todo: pass service function to fetch all channels the id is part of
})
export default actions