Skip to content

Edward Zhu's Evaluation *CRITICAL* #3

@zhued

Description

@zhued

Issues:

breakfast.js

Line 3:
skeleton.connect('mongodb://localhost/simple');
Skeleton is an Express framework-less app structure generator. It simply generates a skeleton of a basic structure. The ".connect" method does not exist in the skeleton package. You're not using skeleton properly. You need mongoose in order to call the connect method on a mongodb.

DoStuff.js

Line 1:
var database= require('./mongo.js');
There is no js file that configs a MongoDB service. How did you get this assignment actually working with that still in the code?

Line 43:
app.put('/person/:id', function(req, res){
Why did you decide on person/:id when your data in on breakfast foods and has nothing to do with people?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions