Framework + database for node.js

I'm used to developing on a ruby ​​mainly using RoR and deploying to a hero. I would like to know if a similar environment exists for node.js. I saw nodeter.com (I'm still waiting for my coupon), but there seems to be no base database. Would you recommend a specific database to work with node.js? Also, is there a structure like RoR that can provide ORM capabilities (like ActiveRecord)?

+4
source share
4 answers

Would you recommend a specific DB for working with node.js?

MongoDB or Redis , but it depends on your use case.

Also, is there some kind of structure like RoR that ORM can provide (like ActiveRecord)?

Try to see Express and mongoose .

Also check out the list of node.js modules .

+2
source

I started working on ActiveRecord to implement MySQL for NodeJS on GitHub some time ago. It uses the node-mysql module, and the interface is similar to the ActiveRecord CodeIgniter class (PHP framework).

+3
source

Being that node is supported by Joyent (and some of the main developers use Joyent), you might want to look at them for hosting options: https://no.de/

Express is the main structure in the node country right now, but I'm not sure if ActiveRecord and Mongo are the happiest of the pairs, you might want to look at the MySQL options for node at this point. There might be something like noblerecord for you: https://github.com/noblesamurai/noblerecord

+1
source

Check this:

Partial.js web application framework: https://github.com/petersirka/partial.js

  • Asynchronous Web Framework
  • Easy view system
  • Easy routing
  • CouchDB Simple Provider Support
  • Simple ORM support (via HTTP-RDBMS)

https://github.com/petersirka/http-rdbms/

0
source

Source: https://habr.com/ru/post/1346919/


All Articles