Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

online Node.js server

Is Node.js mature enough to make entire web applications in it? I mean entirely in Node.js. I read somewhere that for some reason there should be (for example) nginx behind Node.js. Is it true? Can't Node.js stand alone? Are there any online websites built on Node.js?

like image 377
freakish Avatar asked Nov 02 '11 07:11

freakish


3 Answers

in my opinion this isnt true anymore. you can do two things:

  1. use script like "forever" to monitor your node instance.

  2. use this: http://nodejs.org/docs/v0.4.12/api/process.html#event_uncaughtException_ to catch all exceptions that are not catched earlier

like image 93
Tereska Avatar answered Nov 20 '22 19:11

Tereska


In the express link, it shows a lot of good applications written by Node.js.

In my opinion, it is mature enough that node.js can be a standalone web application server. There are lots of lib modules supported different things in Nodejs already.

like image 4
TheOneTeam Avatar answered Nov 20 '22 19:11

TheOneTeam


Its absolutely mature enough. There are dozens of companies now that are using it in production for major features, and some that are even building their entire stacks with it.

If you want a well-rounded web framework, check out Express.

There are hundreds of modules that cover almost every type of feature you need, and they're mostly all easily accessible via npm (node package manager).

Over the summer I built a high-traffic Facebook app for a client using Node. Handles everything just fine.

like image 3
Geuis Avatar answered Nov 20 '22 21:11

Geuis