This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I have been googling but I can't find a way to easily connect a mongo database with jquery without the use of Node or any other server-esque thing. Eventually I'll get to Node but I want the simplest lightweight way first. I should add that I don't need to POST data, just GET so I think it's possible...seems like it should be a simple ajax call but I'm not very experienced with that yet and I can't seem to figure out where to start. I imagine it'd be something like:
$.ajax({
url: "localhost/27017/databasename/"
});
.done(function() {
collection.find()
}
and yes mongod is running. anyone done this before and/or have a tutorial or some help they can link me with?
Post Details
- Posted
- 10 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/jquery/comm...