node.js tag

261 questions


1 answers
104 views
0
Node.js retrieves data from mongodb and sends it to socket.io, but the order is twisted.

I thought it would be long if I put the whole sauce, so I cut it and edited it and uploaded it.I'm sorry if it looks messyfor(var index in room.messagelog){ if(msg.type != 'data'){ match = urlPattern...

2 years ago

1 answers
41 views
0
Server clients

Conceptually, the client asked and the server answered.For example, in the case of membership registration, if the client hands over the ID/password to the server, the server will be configured in the...

2 years ago

1 answers
120 views
0
How to implement Node.js point functionality

Hello.I would like to develop a similar point function of the attached image.My questions are as follows.How to distinguish points when points are used/stacked Database Schema Configuration Here's how...


1 answers
108 views
0
[node.js] Problems importing and storing data into api

I am creating a program that imports and stores Internet data with node.js.Once a second, data is received in api and stored in csv.When we receive the current data, we are experiencing a problem in w...

2 years ago

1 answers
121 views
0
Node.js callback function question.

var i = 0;function a(callback){ i +=1; callback(i);};setInterval(a((num)=>{ console.log(num);}),1000);The above is the code I made. I expected that it would come out as 1, 2, 3... every second, but...

2 years ago

1 answers
40 views
0
Attempt to multi-render mysql table in node.js...

Hi, how are you?I'm trying to load one sql table and one more in the page called readI just don't know how.The coding is as follows.router.get('/read/:idx',function(req,res,next) {var idx = req.params...

2 years ago

1 answers
38 views
0
Is there any way to get out of the promise like a break?

Is there a way to escape halfway while proceeding with Promise in Javascript (node express)? I want to get the value from db and if there is no result, I want to get the value again using another sql....

2 years ago

1 answers
40 views
0
Node.js How to handle multiple query results

Node.js, using express.Put the db result into the variable value in conjunction with mysqlI'd like to send it to render.But to try the global variable.I even marked it with a scoreAs for the result, t...

2 years ago

1 answers
115 views
0
Is it possible to implement an RPG chat system in HTML5?

Hello.Web building with Node.js environment.I'm going to implement a chat system, and the chatting method used in RPG games such as the Kingdom of the Wind is I want to implement it.The following feat...

2 years ago

1 answers
31 views
0
Can I ask you a question about using JavaScript select box?

I'm making a lottery ticket, but there's a block, so I'm asking you a question!First, in the index.html shown on the first screen,<form name=form><select id=selectBox name=selectBox onchange=...

2 years ago
« - 24 - »

© 2024 OneMinuteCode. All rights reserved.