Stack recommendations for NoSQL database with JavaScript frontend

I’m thinking about changing my web app setup. Right now I use Java with Spring Hibernate and MySQL. But I want to try a NoSQL database like MongoDB or CouchDB. I’d also like to make the frontend with jQuery and use JSON to talk to the backend.

For the backend I’m not sure what to pick. Maybe something RESTful? I like Java but I’m open to other options if they’re easier to work with. I still need to use some Java tools for rules and security though.

Has anyone built something like this? What did you use for the backend? How did it work out? Any good or bad points?

I’m especially curious about:

  • Which NoSQL database you chose
  • What language/framework you used for the backend
  • How well it worked with a jQuery frontend

Thanks for any advice!

Have u considered using MongoDB with Express.js? it’s pretty popular for NoSQL setups. how important is real-time data sync for ur app? that might help narrow down ur choices. what kinda data r u dealing with? some NoSQL dbs handle certain types better than others.

i tride couchdb with node and it fits good with jquery. the sync quirks r annoying sometimes but overall its a fun ride. give it a shot if u dont mind trial and error.

For a NoSQL setup with a JavaScript frontend, I’d recommend considering MongoDB with Node.js and Express.js for the backend. This stack, often called MERN (MongoDB, Express, React, Node), is widely used and well-documented. It integrates seamlessly with jQuery and provides excellent JSON support.

MongoDB offers robust scalability and flexibility for document-based data structures. Node.js with Express provides a lightweight, efficient backend that’s perfect for RESTful APIs. This combination allows for easy data manipulation and quick development cycles.

In my experience, this stack performed well under high loads and was relatively easy to maintain. The learning curve wasn’t steep, especially if you’re already familiar with JavaScript. One potential drawback is that MongoDB’s flexibility can lead to schema design challenges if not carefully managed.

Remember to implement proper security measures, as NoSQL injections can be a risk if not addressed.