TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

REST Interface for MongoDB

55 pointsby fatiherikliabout 12 years ago

8 comments

aromanabout 12 years ago
I wonder what it would take to make an adapter for this to Backbone. I'm sure i'm not the only one a little annoyed by the amount of boilerplate I need to write to define every API endpoint I expose from MongoDB as a Backbone-compatible REST interface...
评论 #5495818 未加载
habosaabout 12 years ago
This is awesome, something I'd love to deploy as a simple backend for a mobile app. It would be great if this could be integrated into a known high-performance web framework/server combo so I could deploy it on AWS/Heroku/etc. I currently use Rails and set up RESt endpoints that make a JSON API from my Postgres data but it would be much better in many cases to use MongoDB and make REST calls through a tool like this.
slackmeisterabout 12 years ago
<a href="https://github.com/10gen-labs/sleepy.mongoose" rel="nofollow">https://github.com/10gen-labs/sleepy.mongoose</a>
评论 #5496709 未加载
评论 #5496029 未加载
primaryobjectsabout 12 years ago
Nice job. I made almost the same exact interface a few months back in node.js + mongodb <a href="http://red-ant.herokuapp.com" rel="nofollow">http://red-ant.herokuapp.com</a>
评论 #5496367 未加载
mattdeboardabout 12 years ago
This suffers from the same weaknesses that your MongoDB resource for Tastypie (from which this is derived) suffers. It hard codes the querying functions, leaves no flexibility for connection establishment, and so forth. It needs more "<i>args, </i>*kwargs" in your function signatures, more parameterization of query fields and less hard-coding.
joelhooksabout 12 years ago
<a href="https://github.com/angular-app/angular-app" rel="nofollow">https://github.com/angular-app/angular-app</a> this project has an interesting CRUD structure for mongodb and angarjs
mstdokumaciabout 12 years ago
good idea, need to be tested though.
obilgicabout 12 years ago
Good job