iamshaunjp / iamshaunjp/MERN-Stack-Tutorial
const {title, load, reps} = req.body in Workout route remain null when populated
Open
- Dominant language
- No language data
- Stars
- 401
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
add these to server.js
var bodyParser = require('body-parser')
app.use(bodyParser.urlencoded({
extended: true
}));
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in server.js and inspect the Workout route's request-body handling. Add the shown body-parser URL-encoded middleware there, then verify that title, load, and reps from req.body are populated instead of null.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100