[TODO] Add controllers
- 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
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