You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll preface this with I'm new to mongo/express/jsonapi-server/etc.
I've setup the jsonapi-server using the MemoryHandler with examples:[...] successfully. However, I want to actually set things up using an actual DB so I've chosen mongo.
I'm not entirely sure what is required by this package though, but I setup a DB through "mLab" and my jsonApi.define looks something like this now:
Beyond this, I'm not sure what else is required. Obviously when I visit: http://localhost:3000/drinks I don't see any data, even though I have loaded a few documents into a "drinks" collection/db on mLab. I also don't see any errors though.
Any advice/tips are helpful!
The text was updated successfully, but these errors were encountered:
I'll preface this with I'm new to mongo/express/jsonapi-server/etc.
I've setup the jsonapi-server using the MemoryHandler with
examples:[...]
successfully. However, I want to actually set things up using an actual DB so I've chosen mongo.I'm not entirely sure what is required by this package though, but I setup a DB through "mLab" and my jsonApi.define looks something like this now:
Beyond this, I'm not sure what else is required. Obviously when I visit:
http://localhost:3000/drinks
I don't see any data, even though I have loaded a few documents into a "drinks" collection/db on mLab. I also don't see any errors though.Any advice/tips are helpful!
The text was updated successfully, but these errors were encountered: