node.js tag

261 questions


1 answers
146 views
0
Is node.js(React) used only as a client?

Does the API server build and use the client written in tomcat and React in node.js form?If you look at the React example, they all add it to node.js.If so, do you use node.js as a web server?I wonder...

2 years ago

1 answers
153 views
0
ReactJS. I think it's a very basic question. But it didn't work out

Hello! I was re-factoring a shopping mall-like homepage made of the existing express and ejs code with React, but something was strangely blocked, so I'm posting.Come to think of it, it's very basic, ...

2 years ago

2 answers
47 views
0
Ubuntu: Problems Loading Environmental Variables in Ubuntu Environments

Hello.Windows is developing nodejs and trying to deploy to Ubuntu. in the development environment.Read environment variables well from env file. Only undefined appears in ubuntu production. When the l...

2 years ago

2 answers
103 views
0
This is a question about node.js. I'd like to receive the value delivered by the Express Router from Jade's inline JavaScript.

You are about to receive the rows value passed by the Express Router from Jade's inline JavaScript. '#{rows[1].It's accessible by the code 'id}', but I can't figure out where it's coming from. Also, w...

2 years ago

1 answers
42 views
0
[Node.js] Problems retrieving data from websockets

Hello.I'm posting like this because there's a problem with getting websocket data.var ws = new WebSocket(`wss://${host}:${port}`);var api = new api_call(ws);function get_data(today){ api_call.on('read...

2 years ago

2 answers
118 views
0
Question about using the module when a NodeJS+Express simultaneous request is received.

Hello, I am currently running the Express app using AWS Lambda.I have a question about NodeJS, which is based on Single Thread.// dateUtil.jsuse strict;var DateUtil = (function () { function DateUtil(...

2 years ago

1 answers
115 views
0
ORM: Sequelize: I want to change mySQL query to Sequelize query.

First of all, the data and table are as follows.CREATE TABLE products( p_id INT, p_name VARCHAR(32), PRIMARY KEY (p_id));CREATE TABLE color( p_id INT, p_color VARCHAR(24));CREATE TABLE size( p_id INT,...


2 answers
43 views
0
An on-click event question in JavaScript.

Node js Book Example From the following door Onload becomes an alert window There's no button event ㅜIt's not even in the log.It doesn't even pop up in the console window.When clicking a button Develo...

2 years ago

1 answers
148 views
0
When saving from node.js to mongodb, is there a way to save it so that it doesn't overlap?

var mongoose = require('mongoose'), Schema = mongoose.Schema;var schema = new Schema({ name: {type: String, required: true, unique: true}, img: {type: String, required: true}, field: {type: String, re...

2 years ago

1 answers
145 views
0
I want to make a whole line of a sentence HTML

module.exports = { HTML:function(title, board, control){ return ` <!DOCTYPE html> <html> <head> <title>${title}</title> <meta charset=utf-8> <style type=text...

« - 18 - »

© 2024 OneMinuteCode. All rights reserved.