Andrei Sch.
Andrei Sch.

Reputation: 391

RESTful MongoDB with Nodejs example needed

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

Answers (2)

Ishai Jaffe
Ishai Jaffe

Reputation: 11

This is a Restful library with an example: https://github.com/Empeeric/jest

Upvotes: 0

pminnieur
pminnieur

Reputation: 46

You may find this project very helpful: https://github.com/pminnieur/entropy.js

Upvotes: 3

Related Questions