Questions tagged as 'node.js'

0
answers

How to return value (Webhook)

I'm trying to use api.ai link From what I understand, I have to return a JSON in the format: "fulfillment": { "speech": "Today in Boston: Fair, the temperature is 37 F", "source": "apiai-weather-webhook-sample", "display...
asked by 22.06.2016 / 01:31
0
answers

Grunt Concat Does Not Unify Files

I want to unify my css files into one, but the grunt does not unify. Works perfectly for javascript. Follows: concat: { options: { separator: '\n\n', }, css: { src: [ 'dist/app/css/*.css'...
asked by 19.06.2016 / 15:56
2
answers

Doubt with node.js - Error: route.js: 162

I'm having trouble running my application. I made the right mappings, according to the book in which I am learning (MEAN stack of the Code House). Express.js file // config/express.js var express = require('express'); var home = require('.....
asked by 07.07.2016 / 22:40
1
answer

Query changing join - SequelizeJS

How could I do this query using Sequelize? SELECT t1.* FROM Table1 t1 inner join Table2 t2 on t1.id != t2.t1_id     
asked by 02.08.2016 / 02:27
0
answers

Return json from a mysql blob

Good afternoon, I have a json returning data from a MySQL DB and one of the attributes is a BLOB. Here is the return to better understand what I would like to know. [ { "id": 1, "name": "Onix", "description": "Completo", "pr...
asked by 28.06.2016 / 19:17
1
answer

Socket.io chat, defining url

I would like a help with chat using socket.io, I would like to set a URL, I can not, I can only access through localhost: 3000. For example, I wanted the chat to be on the home page of my site example: siteexample.com, how do I define this? h...
asked by 09.06.2016 / 13:21
1
answer

Gulp Watch, SASS does not change you

My GULP: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload = require('gul...
asked by 11.07.2016 / 21:34
0
answers

Authentication problem with firebase 3.0 on node.js

Because firebase has upgraded to version 3.0 and needs to be migrated to the new version, a problem has arisen regarding the authentication of my server node. The code is like this var firebase = require('firebase'); var config = { apiKey:...
asked by 31.05.2016 / 22:31
0
answers

serial port node.js

I need to write a code for node.js that receives a "post request" (in this case a word String ), and pass this word forward to serial port. Then you receive from this serial port another word and put this word as answer for a "post reque...
asked by 24.07.2016 / 14:06
0
answers

How does a hybrid app run on Node.js?

How does the backend issue with Node.js work in a mobile app? You can use the Phonegap Build service that compiles my application to the desired platform (Android or iOS for example). But how does the Node.js issue, why do we need to host it...
asked by 24.07.2016 / 15:09