Use mongoose's "_id" instead of "id". Add connect Proxy in Gruntfile to serve REST requests.