Comment(s): NodeJS project structure looks perfect. Starter code + new code, testing suite, package.json, etc. are all included.
Criteria 2: Implementation of API Specification and Functionality
Score Level: 3.5/4
Comment(s): API functionality works just about perfectly. I had no issues creating/deleting comments, upvoting, downvoting, etc. One minor issue I was having was editing comments. Currently, a 400 code is being thrown when trying to edit a comment. Take a look at the updateComment function and see if you can spot any issues.
Criteria 3: Test Case Results (Are all Test Cases Passing?)
Score Level: 3/4
Comment(s): Related to the previous comment, the updateComment function isn't properly returning a 200. Beyond this, all test cases are passing.
Criteria 4: JavaScript Fundamentals and Formatting
Score Level: 4/4
Comment(s): Javascript fundamentals/syntax/formatting look great. I don't see any glaring issues with your code here 👍
Rubric Score
Criteria 1: Node.js Project Structure
package.json
, etc. are all included.Criteria 2: Implementation of API Specification and Functionality
400
code is being thrown when trying to edit a comment. Take a look at theupdateComment
function and see if you can spot any issues.Criteria 3: Test Case Results (Are all Test Cases Passing?)
updateComment
function isn't properly returning a200
. Beyond this, all test cases are passing.Criteria 4: JavaScript Fundamentals and Formatting
Criteria 5 (Optional): YAML Database Saving/Loading
Overall Score: 18.5/20 👏
Overall great work with the project! The only minor area for improvement I noticed was in the
updateComment
function, as mentioned.