Questions tagged as 'nodejs'

1
answer

VueJS and node for a step to production

I have a question, I have a project done with vue-cli , I run the command npm run build , I generate the dist and the index . The idea is to deploy in a nodejs, which provides services and connection to the BD (mongo)...
asked by 11.05.2018 / 17:13
0
answers

Two answers in a petition Post Nodejs angular-cli

I am developing my application with Nodejs , angular-cli . I was configuring the server in one of its routes, where I make a request of type POST , where the server returns some data and a token , but I have a problem when...
asked by 27.04.2018 / 22:07
0
answers

I need to program a trading button

is the first question I ask here, specifically I want to develop a web application that works on a server and makes cryptocurrency trading all the time through programmed rules. The exchange in which tradeo has its API so that's why there's no p...
asked by 24.04.2018 / 23:33
1
answer

Save in several collections Mongoose same call

I need to save the information of my Arrays [data_inver], [asociar_inver] in Mongoosee at the same time in a same method of my API. Right now I am launching these two methods: // save multiple documents to the collection referenced by Data_...
asked by 24.04.2018 / 13:27
0
answers

timestamps do not work on embedded documents or subdocuments in mongoose

normally timestamps would work var UserSchema = Schema ({{ name: String, description:String },{ timestamps: true }) but timestapms does not work in var UserSchema = Schema({ name: String, description:...
asked by 23.04.2018 / 19:05
1
answer

does anyone know how I can integrate Bootstrap to nodejs with Express?

I am developing an application using nodejs and the Express framework. I want to add Bootstrap to my project in local mode. I added this to my index (having already downloaded Bootstrap) <script language = "javascript" src = "- / node...
asked by 23.04.2018 / 04:46
1
answer

Search with array in mongodb with nodejs

I am creating a restFull api with nodejs and mongodb. I'm trying to do a query on mongodb and nodejs, but I do not get the form. I have the problem in looking over the array that arrives by parameter, I try to make the $ in on the array and it g...
asked by 21.04.2018 / 13:47
0
answers

Get meta-data from swf files

I'm using the SWFReader library to get some meta-data such as the size and dimensions of a swf file, the problem is that these files are inside a compressed folder and I access them using the ZipLoader library, which returns a " URL "as this blo...
asked by 19.04.2018 / 03:16
0
answers

mongoose dynamic references work for me

for example the model is var UserSchema = Schema({ firstName: { type: String, required: true }, secondName: String, lastName: { type: String, required: true }, email: { type: Stri...
asked by 30.04.2018 / 19:57
1
answer

Problem node.js express-session renews session with interval of time

When reloading page in nodejs, after logging in, it is updated to undefined and after a while returns and updates to the session established in the login, then returns to undefined and then to the session, in an infinite cycle Does anyone know w...
asked by 30.04.2018 / 19:09