[TODO] add middleware
Open
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
We only have auth middleware. That's pretty weak sauce. Add:
```fs
/src/middleware/
auth.js
moderation.js
chatDisabled.js
rateLimit.js
validate.js
errorHandler.js
```
Contributor guide
Research direction
Start by inspecting the existing /src/middleware/auth.js and the surrounding middleware entry points. Before implementation, define the expected behavior and integration points for moderation, chatDisabled, rateLimit, validate, and errorHandler; done means those six middleware files exist and their requirements are covered by project tests.
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
- 35/100