arp
arp

Reputation: 1368

How to use angularJS with mongoDB?

I have stored tweets with "BYE" keyword from twitter in mongoDB.Now I need to built a single web page with search text box where I can search these tweets using angularJS.

Edit : I dont want to use any middleware.

Upvotes: 0

Views: 121

Answers (2)

arp
arp

Reputation: 1368

I did by using ElasticSearch.Elasticsearch uses standard RESTful APIs and JSON.It can be used with javascript also. Configure mongodb and elasticsearch using this link (this blog post quite old).

Upvotes: 0

NimChimpsky
NimChimpsky

Reputation: 47280

you'll need to serve the data using one of java, c#, node, python blah blah blah.

Probably your best choice is an MVC framework of some sort that will facilitate producing the data in a restful manner. Language up to you ... (just not php ;-))

For example spring-mvc for java, .net mvc for c#.

Upvotes: 2

Related Questions