Questions tagged as 'node.js'

2
answers

Use 2 different frameworks in the same CSS?

I started my internship today and the first task I received was to find out if it's possible to use two files in a single, minimized CSS. normal compilation and minification, to generate the only CSS, or is this not possible? Also,...
asked by 01.11.2017 / 03:46
3
answers

'nodemon' is not recognized

After installing the nodemon I get the following error:    'nodemon' is not recognized as an internal command   or external, operable program or batch file. The following commands have been passed: npm install -g nodemon npm install...
asked by 08.05.2018 / 13:53
1
answer

How to use foreign key to create a record in another table

I have two tables users and users_info , I would like to use foreign key, so when I create a record in the users table, create a record with the empty fields in the users_info table, only with the id_user complet...
asked by 04.09.2017 / 14:26
1
answer

Executing a package.json file

Well, I have a project that has package.json { "name": "designimpl", "version": "1.0.0", "description": "", "main": "gulpfile.js", "dependencies": { "browser-sync": "^2.18.8", "del": "^2.2.2", "gulp": "^3.9.1", "...
asked by 07.06.2017 / 11:15
1
answer

Controllers and Routes in node js

I wonder if it makes any difference between using only routes , or routes with controllers in node js could someone give me some examples of how to implement routes and controllers on the node using express js ?     
asked by 22.06.2017 / 22:12
2
answers

Express how to make a div appear only if the user is logged in?

Well, I just registered on my site and I would like it when the user logs in the login and registration links disappeared and in place a div with a drop down menu showing links to my account, logout etc. appears. What should I use in this div? I...
asked by 18.07.2017 / 02:55
2
answers

Do an asynchronous function wait for another

I'm developing a JavaScript system with Node.JS and Redis, however, because of the asynchronous functions, the loop terminates before the functions, which causes the wrong response array or the timeout on the server. In the face of my problem, i...
asked by 11.01.2016 / 20:15
1
answer

Problems with localhost applications with AngularJS and NodeJS

I have some questions and problems trying to create a server with nodeJS . The issue is that I have an application developed with very simple AngularJS and I want to make another one in nodeJS which basically loads AngularJS . I crea...
asked by 03.08.2015 / 21:17
2
answers

Load fields automatically with jquery and json

I need to fill in my fields after selecting one. My JSON is as follows: [{"codeVisit":"3EE","segmentVisit":"industria","streetVisit":"Rua Francisco Leandro Cunha","neighbVisit":"Vila","countryVisit":"Brasil","client":"5580262b600e53e82069bb...
asked by 16.06.2015 / 19:54
1
answer

Digital Signage System with NodeJS, is it possible?

I have a question about Node JS and what I could do with it. I started to study about MEAN a few days ago and wanted to know if using this technology I could, for example, create a system of Digital Signage , like Xibo...
asked by 13.02.2015 / 03:11