Questions tagged as 'nodejs'

0
answers

Mount nodejs application in windows server 2008 r2

Make an application in nodejs and now I need to mount it to the server. I already insert the nodejs and the iisnode and install the test file, but I can not get the application to run, I always get a 404 error and I do not know what else to do....
asked by 01.08.2017 / 15:54
0
answers

Use Passport-facebook in a rest API in NodeJS? [closed]

I have an application made in express , until now I used the same server to show HTML and so on. This application has a Facebook login and it works. I need to know how to implement the Facebook login in a API to be used from a client a...
asked by 19.05.2017 / 12:49
1
answer

Node.js + node-xmpp.js + mongoseIM

I have a structural dilemma for my application. Currently I have an application consuming an API Rest made with Node and MongoDB. And I want to add the chat functionality. I was reading and I think the best option is to use the XMPP protocol for...
asked by 12.04.2017 / 21:05
0
answers

I can not click on a link with phantom-node

I am doing scraping of the site tematika.com to be able to create a book base. The problem is that I need to go over the page but I can not, so I always get the same books. I think that with the code they will understand it better. co...
asked by 01.04.2017 / 17:56
0
answers

Error PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR

Good, I have a REST API made in NodeJS and ExpressJS and the problem I'm having is that after several hours without making any request, the connection to MYSQL is closed, then when making a request the connection is closed, I get that error and...
asked by 28.03.2017 / 18:50
1
answer

Node does not save or execute changes

I am programming with an online IDE in node.JS, but it is not saving me the changes I make in the main executable file, I stop and I return to start the server and my page receives the same, I do not even print in the console of the server a...
asked by 04.04.2017 / 16:55
1
answer

I can not display my mongodb data with mongoose in node.js

//myapp/routes/index.js //declaramos las dependencias var express = require('express'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'), Schema =mongoose.Schema; var router = express.Router(); mongoose.co...
asked by 31.03.2017 / 15:21
1
answer

How to export a complex JSON response to XLS, with JavaScript?

Hello everyone! Do you know of any tool that can generate an XLS from a JSON response? I intend to make a query, without showing it in a table, and based on it elaborate the XLS as customizable as possible (similar to PHPEXCEL, where you h...
asked by 13.03.2017 / 23:43
1
answer

NodeJS-Express res.json and res.render

I am doing a mobile client for my application in NodeJS but I do not have much experience doing a REST Web Service, and I am trying to return a JSON in my application to receive it in the Android APP, but I only return a single file type, HTML o...
asked by 13.03.2017 / 20:44
0
answers

Communication between different websites through rest

I have a question, suppose you have a domain www.example.com and 2 subdomains www.sub1.example.com www.sub2.example.com I clarify that the 3 pages use mongo express and the whole node stack. If you would like to communicate and shar...
asked by 23.03.2017 / 18:35