RESTful MongoDB with Nodejs example

I am trying to use MongoDB with a REST interface on a NodeJS host and I am puzzled. I read about REST all day, and I just can't figure it out.

Say I have an unreliable (browser) client. Invalid client calls "GET / somecollection", server checks client permissions and then calls "GET / somecollection" in the database itself?

+4
source share
2 answers

You can find this project very useful: https://github.com/pminnieur/entropy.js

+3
source

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

0
source

All Articles