node.js tag

261 questions


1 answers
68 views
0
When to connect and disconnect to socket.io

Hello! I am a student studying nodejs.I have a nodejs server that uses socket.ioWeb application is running at the front desk.(reactJS/redux)It's because I don't have enough knowledge about SocatFirst ...

2 years ago

1 answers
39 views
0
Request path contents unescaped characters error when accessing nodejs site

This article is a kind of stuffed text that you write in anger after experiencing a situation in which the original text is deleted while writing an answer. ๐Ÿ˜’var client = require('cheerio-httpcli');le...

2 years ago

1 answers
92 views
0
How to use node.js mongoDB cache

We are developing node.js + express + mongoDB. There are times when I call up the db and organize it like a bulletin board, but it doesn't change that often, so it feels very inefficient to do DB I/O ...

2 years ago

1 answers
55 views
0
Ajax error when using image upload module multiparty in node.js

Cho Daehyuk's blog http://bcho.tistory.com/1078 Here, we use the multiparty module to study uploading images. It works fine if you follow the example. Ajax method $.ajax({ type: post, url: /users/uplo...


2 answers
141 views
0
When developing front-end and back-end, select the framework... It's not easy.

I want to build a website based on node.js. I developed it using express js + bootstrap + jquery. Maybe it's because I don't know how to use it yet, but it's a little slow... As I was trying to figure...


1 answers
124 views
0
How to log out automatically from session-based login/logout

We are developing web services based on node.js.Redis is used for the session.For example, if this is the case,A user logged in to Web Service A from a public PC, not from a personal PC. Close the bro...


1 answers
87 views
0
We are implementing web messenger using node.js and socket.io.

I am a beginner who is learning node.js and socket.io for the first time.If it's a simple chat, there are a lot of data, but the deeper it goes, the harder it becomes to find something.What I thought ...

2 years ago

1 answers
35 views
0
How can I send POST request data from Android to node server?

If I transfer the data from Android to node server, I want to send fcm message with the data I received from the server using timer. <a> http.createServer((req, res) => {</a><a> r...

2 years ago

1 answers
41 views
0
PUG wants to process mysql search results, recognizing field names with parentheses as a function. What should I do?

Code for searching for mysql in node.js(express) app.get('/record', function(req,res){ sql = select date_format(date, '%y-%m-%d') from record; conn.query(sql, function(err, results){ if(err){ consol...

2 years ago

1 answers
47 views
0
Nodejs Request Module Cache-Control Question.

We are currently crawling the information to the URL below. https://project-team.upbit.com/api/v1/disclosure?region=kr&per_page=10The problem is that the crawling content is 5 minutes later than t...

2 years ago
« - 25 - »

ยฉ 2024 OneMinuteCode. All rights reserved.