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.
0
votes
0answers
4 views
Error on “npm install socket.io”
I'm trying to update my socket.io version (current is 0.9.11), so I've edited the package.json file to:
{
"name": "aaa",
"version": "0.0.1",
"private": true,
"scripts": {
"start": ...
0
votes
0answers
4 views
Trying to use EJS with Node.js
I'm trying to setup my first app using EJS (Normally use Jade) and I've got it all setup and my pages are loading, I followed a tutorial on how to do it, this is my layout
<!DOCTYPE html>
...
0
votes
0answers
9 views
How do I change default directory in node.js? (Windows)
When I try to tun my project on node, I have to write the full path for my javascript file because the default value node uses is C:\Users\MyUser and I refuse to use it.
I've been trying to find how ...
0
votes
2answers
13 views
What is Procfile? and Web and Worker
Is it necessary to give 'worker' information in Procfile? If yes then what it is actually - couldn't find nice article regarding this. I hope you guys might have idea. I have already added web: node ...
0
votes
0answers
19 views
collection.find(), mongodb, node js
There is something wrong with this colection.find(), what I am trying to do with the collection.find() code is determine if I have any duplicates before insertion. I'm trying to log results.length to ...
-2
votes
1answer
22 views
Node.js Multiple User tutorial [closed]
I'm looking for a tutorial/ howto on how to create a node.js app with multiple users who have different permissions (like a user can only see their own emails, files, not others) It would use ...
1
vote
0answers
13 views
How do I single sign on between Bugzilla and Node.js?
Bugzilla runs behind the Apache webserver (mod_perl2) and stores the users in MySQL database. Node.js is it's own webserver. How do I single sign on the user in the Node.js app using the user data ...
0
votes
1answer
10 views
Can Nodejs run behind Apache and is it supported?
Apache creates a new Thread for each request or more accurately, it re-uses a Thread from a pool of Threads but Node.js is essentially a single Thread. Would there be any complication in running a ...
0
votes
1answer
24 views
What is the best technology for concurrent webpage sessions?
What is the recommended technology or technologies to use in order to make a webpage that automatically updates the screen depending on a value change in a database?
For example:
There is a webpage ...
1
vote
0answers
21 views
Where in my stack can streams solve problems, replace parts and/or make it better?
If I take a look at the stream library landscape i see a lot of nice stuff (like mapping/reducing streams) but I'm not sure how to use them effectively.
Say I already have an express app that serves ...
1
vote
0answers
22 views
mongodb 2.4 full text search
In mongo shell I can do this
db.collection.runCommand( 'text', { search: 'query' } )
And how can I get this with mongodb-native and node.js?
I tried to do something like this
db.executeDbCommand( ...
0
votes
0answers
20 views
Getting the most performance from serving HTML+js in node
(trying to avoid having this question closed due to lack of objectivity in replies)
I am trying to create an application in angular.js that creates and serves HTML+js as pages (served inside ng-view ...
0
votes
0answers
12 views
Strategy to run Firebase transactions sequentially (NodeJS client)
Is this a "proper" way to run Firebase transactions that depend on each other sequentially using the NodeJS client:
ref.child('relationships/main').child(accountID).transaction(function(data) {
...
1
vote
1answer
34 views
Point all URLs to a single web page with node.js + express + jQuery
I just started experimenting with node & express, and am trying to load the content of various HTML files into a single web page with Ajax.
I want the URL shown in the address bar to reflect the ...
0
votes
0answers
13 views
Implications of nested transactions in Firebase?
I am running a transaction to update an item that needs to be stored in two keys. To accomplish this, I have setup a nested transaction as follows, and it seems to run as expected:
...