Reputation: 391
I'm trying to use MongoDB with REST interface on NodeJS express and I'm puzzled. I've read about REST all day and I just cannot grasp it.
Let's say I have an untrusted (browser) client. The untrusted client calls "GET /somecollection", the server verifies the client permissions and then calls "GET /somecollection" on the database itself?
Upvotes: 4
Views: 2879
Reputation: 11
This is a Restful library with an example: https://github.com/Empeeric/jest
Upvotes: 0
Reputation: 46
You may find this project very helpful: https://github.com/pminnieur/entropy.js
Upvotes: 3