Questions tagged [node.js]

Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications. NOTE: Please read the Tag-Wiki before asking questions.

Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript Engine.

Node.js - or just Node as it's commonly called - is used for developing applications that make heavy use of the ability to run JavaScript both on the client, as well as on server side and therefore benefit from the re-usability of code and the lack of context switching.

It's also possible to use matured JavaScript frameworks like YUI and jQuery for server side DOM manipulation.

To ease the development of complex JavaScript further, Node.js supports the CommonJS standard that allows for modularized development and the distribution of software in packages via the Node Package Manager.

Applications that can be written using Node.js include, but are not limited to:

  • Static file servers
  • Web Application frameworks
  • Messaging middle ware
  • Servers for HTML5 multi player games

When asking questions about Node.js, you should:

  1. Make sure to check the official API Docs before asking, your question might be trivial.
  2. Isolate the problem and reproduce it with as little code as possible, if you can also use an online tool like JSApp for that, it's even better.
  3. If the question has nothing do with anything that's Node.js specific, please consider asking it as a question instead.
  4. Mention which version of Node.js you are running, when in doubt use node -v.
  5. Make sure to only use the Tag, since is ambigious.

Interesting Questions and Answers

Common Topics

Useful Links

Tutorials, Guides and Books

Talks and Presentations on Node.js

1000 questions
-2
votes
1 answer

List of most popular server side web hosting languages?

I am looking for some online resources providing statistics, or at least ranking, of server-side installations based on the language (and maybe version and environment). We are trying to choose the appropriate language for an upcoming…
-2
votes
1 answer

how to migrate wordpress blog website to a node based application?

I had an already existing blog written in wordpress, which uses db for storing the posts. Now, I am removing the wordpress and writing my node application that just serves the page requested by the user. The problem I am facing is how do I convert…
Bali Vinayak
  • 101
  • 1
-2
votes
1 answer

Loading files from different partitions

I've been working on a chat engine with file streaming builded with socket.io and nodejs. Everything is working well, messages, notifications, chat rooms and even the file streaming but let's say that we have a server with only 1TB (250gb HDDx4) and…
-2
votes
1 answer

Site rendering differently with and without "www"

I recently developed a site, and was surprised to find that the section labeled "Transparent Pricing" shows different prices when I access the site with or without the "www." nmbs.io displays the correct pricing. While www.nmbs.io shows the…
David K.
  • 101
  • 3
-2
votes
1 answer

Staging architecture on AWS

We are using AWS (EC2-classic) and I will migrate our servers to AWS VPC, we will use AuroraDB, too. Staging ENV has 8servers (Linux Ubuntu 14.04), and on these servers are running RoR & node.js applications. I was thinking to consolidate these…
-2
votes
1 answer

Shared hosting vs VPS

I am looking at the shared hosting vs VPS plans, and I see that although VPS is much more expensive, I have only limited storage. Whereas in shared hosting I have unlimited storage? Why is this? What is the adnvantage of using VPS over shared…
Sab
  • 1
-2
votes
1 answer

Unable to redirect port to main domain page on Ubuntu VPS

Basically, I have a Nodejs program running on port 4000 of my server and instead of the visitors having to type mydomain.com:4000 to access it, I'd like it to be displayed when they visit the normal domain of mydomain.com but I can't seem to get it…
my90558
  • 1
  • 2
-2
votes
1 answer

Options for a web application to send emails

I have a VPS server running Ubuntu OS. A developer is creating a NODEJS website and suggests to use a third party service to send emails. Such as Sendgrid. I'm sure years back there were other ways to send emails because these services never…
-3
votes
1 answer

Is it possible to set same port work with http and https?

I've nodejs application which port number is 3001 and this app working with http but not work with https. On apache server, set the revers proxy for 80 or 443 to 5001 and set revers proxy for 3001 also. http://:3001/socket.io/socket.js …
rgg
  • 45
  • 1
  • 1
  • 6
-3
votes
1 answer

Can't connect to my localhost server with my public IP

I have created a local node server on my laptop. And I can access it using the private IP (like 192.168.1.9:8080) on same network on my other devices like phone and other PC. I have disabled firewall. But now I want to access it using my public IP.…
Vikas
  • 97
  • 5
1 2 3
66
67