0
votes
1answer
26 views
AngularJS Cross domain request using cors to node ExpressJS
I have to sent a post request to my node server running localhost:3001. I successfully completed the request and getting the post data in node server but the data is poorly formatted.
AngularJS:
...
1
vote
1answer
26 views
Best way to transmit entire Javascript Objects over a REST API in Node.js
I'm trying to figure out how to transmit a JS (not JSON) over a REST API, basically the idea is that the client can send the object with functions () that will provide the functionality for posterior ...
0
votes
2answers
27 views
async each series does not return as expected
Im using async library, specifically the each method, but Im not getting the expected result.
function instanceMethod (final_callback) {
obj = this;
async.parallel([
...
1
vote
0answers
18 views
How to Disable V8's Optimizing Compiler
I'm writing a constant-time string comparison function (for node.js) and would like to disable V8's optimizing compiler for this single function; using command-line flags are out of the question.
I ...
0
votes
1answer
66 views
Amazon S3 POST api, and signing a policy with NodeJS
I'm trying to get an built that allows users to upload a file directly to my Amazon S3 bucket, from a NodeJS powered website. It seems the only tutorials out there, other than the actual amazon docs ...
0
votes
1answer
14 views
Meteor insert / remove operations raise exception when called from ZeroMQ callbacks
The following Meteor code snippet barfs when a ZeroMQ message is received on the specified port. However, if I change remove to find, it works OK. insert operations also fail. Note that insert and ...
2
votes
4answers
44 views
node.js expose variable to module?
I have read a lot of articles about how to create modules in node.js, and you can use module.exports to expose module internals to the file which includes it.. awesome!
How does this work the other ...
0
votes
2answers
20 views
Understanding asynchronous functions in node.js
I am learning nodejs. I am having some hard time understanding how asynchronous functions works. My question is related to the code below. I am trying to do the following things in the following exact ...
-2
votes
1answer
25 views
Socket.IO.js is unavailable
I have a nodejs server, and socket.io.js is unreachable sometimes.
Can you help me?
It's usually good, but sometimes it's unreachable.
0
votes
0answers
26 views
Backbonejs, Node.js, MongoDB: How do I properly route a URL to pull a single model from a collection (coming from MongoDB) and display it on the page?
Any help provided would be greatly appreciated. I am working to understand on both a high/broad conceptual level and specifics/low code level how a node/mongo/backbone app needs to work in order to ...
0
votes
0answers
11 views
neo4j add node to index using node.js and the neo4j-js library
I am learning neo4j, using the neo4j-js library for node.
Can anyone provide an example of how to add a node to an index using the library's base class?
I have tried several times but have failed.
...
0
votes
0answers
15 views
downloading file from Node.js server with Ajax call gives truncated data and bloated blob
I have a problem downloading a file from a Node.js server (using Express). The request is handled properly and the response.download file is called on an existing file. But when the data is received ...
-1
votes
0answers
47 views
Getting started with WebSockets [on hold]
My question is twofold.
I have searched for concise documentation on WebSockets, but all I have been able to find is the one published by W3C and others which delve right into a complicated example. ...
0
votes
2answers
25 views
REST API and Real Time client
I want to have the following architecture:
A JSON REST API where real time statistic data is pushed to and stored in a Redis server.
A JSON REST API call where any number of clients (native or web) ...
0
votes
0answers
38 views
Socket IO Node to broadcast data to all clients
Hello there i am developing a webgl multiplayer game, i try to implement multiplayer by socket io, with express in node.js. When user presses any key, the key event is first sent to server then the ...