gbowne1 / gbowne1/codestream

[TODO] Add controllers

Open
#102 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
9
Forks
24
PR merge metrics
No merged PRs in 30d

Description

We only have one controller which is pretty weak sauce... Add some more

/src/controllers/UserController.js
Methods: getUserProfile, updateUserProfile, changePassword, listUsers

/src/controllers/ModerationController.js
Methods: muteUser, unmuteUser, banUser, unbanUser, timeoutUser, promoteUser, demoteUser, disableChat, enableChat, getModerationLog

/src/controllers/StreamController.js
Methods: createStream. updateStream, endStream, getStreams, getStreamById, searchStreams

/src/controllers/ChatController.js
Methods: sendMessage, deleteMessage, getChatHistory

/src/controllers/AdminController.js
Methods: getDashboardStats, getAllUsers, getAllStreams, getAllModerationActions, updateSiteSettings

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the existing controller and the surrounding project structure, then use the five listed paths as the entry points for the work. Review each requested method name and determine the project conventions before implementing them. Done means UserController, ModerationController, StreamController, ChatController, and AdminController exist with all methods listed in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.