Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

How to use ember with mongodb and node

$
0
0

@DevGuy wrote:

Hi all I am in the process of learning to code with emberjs, and want to understand how to read and write to a mongodb server. Can anyone point me to something current that shows how to do this.

I came across the following article somewhat missing details and looks like things have changed and I can't get the example to work:

http://ryanchristiani.com/working-with-ember-data-node-express-and-mongodb/

I've got mongodb setup and working and can read the data using curl as in the article, where it fails is with ember, no data is loaded as I see the following error:

Error while processing route: index Assertion Failed: normalizeResponse must return a valid JSON API document: * One or more of the following keys must be present: "data", "errors", "meta". Error: Assertion Failed: normalizeResponse must return a valid JSON API document: * One or more of the following keys must be present: "data", "errors", "meta".

I get the error, but don't know how to fix it to get things working.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles