27 Topics

Member Avatar for
Member Avatar for Pony_1

I really need help and i would apreciate if someone can help me with this I need to do the same than here but with .NET, instead of node js. I never worked with .NET before. Is my first time working with tokens and APIs. So i kinda need help …

Member Avatar for Dani
0
69
Member Avatar for Sebastian_12

Im am new to node.js and get the mentioned error in server.js file. I am trying to introduce a gantt diagramm with dhtmlx library. I am using Node v16.13.1 and IntelliJ 2021.3 Below are my code snippets. Index.xhtml: <!DOCTYPE html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>QuickInfo extension</title> <script src="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.js"></script> <link …

Member Avatar for Mr.M
1
87
Member Avatar for NALB

hello , i wanna do something as below but the problem that names and address out of the connection query are empty how can i assign them and the send them to the page? app.get('/reports', (req, res)=>{ let sql = "SELECT DISTINCT name from users_table ;"; let names; let query …

Member Avatar for jamesfilipson
1
1K
Member Avatar for loveboat

var mysqlstore = require('express-mysql-sessiion'); var app = module.exports = express(); var express = require('express'); var session = require('express-session'); var bodyParser = require('body-parser'); var path = require('path'); var connection = mysql.createConnection({ host:'localhost', user:'root', password:'', databse:'mam_login' }); var app = express(); Good day all My code is giving me error: "can not …

Member Avatar for rproffitt
0
32
Member Avatar for bprosic

I can't accomplish async and await in order to populate array and then show the end result. When I execute the code, firstly there is an empty array. When I go "refresh", then data is populated. Obviously async. But I don't know how to write the code The similar problem …

Member Avatar for sagar_14
0
4K
Member Avatar for sagar_14
0
298
Member Avatar for Aarav

Hi, I am working on javascript programming & it allows me to learn HTML which enhance my knowledge of AJAX, JSON and DOM Objects in Javascript which helps me in my learnings. I have faced an issue that how can I use sinon for stubing in mocha node.js which is …

0
84
Member Avatar for Aarav

Hey friends, I am here to share a query in javascript development forum, that how to scrap a website using nodejs which includes getting, parsing & extracting the content of a webpage . Read & share your views about scrapping the content of a website.

Member Avatar for cereal
0
89
Member Avatar for Labdabeta

Hello, I am working on a moderately large web development system and have been charged with developing the server-side application for the web site. As a primarily local developer I have by far the most experience in C/C++. My favourite language is Ada, just to give you a sense of …

0
288
Member Avatar for pro-tek
Member Avatar for isaac.iji.5

any ideas on how to deploy a node.js app on vps with flight plan? using a windows operating system

0
74
Member Avatar for pro-tek
Member Avatar for isaac.iji.5

what i need is how to save the file part to mongodb using mongoose and also the image id, and also get each image in a link such as localhost//3000/users/photos/234 as u can see im a newbie here thanks /*Define dependencies.*/ var express=require("express"); var multer = require('multer'); var mongoose= require …

0
95
Member Avatar for isaac.iji.5

hi i used multer to create an upload script now i would like to display the photos uploaded by eacch user on diff pages with diff adrees i.e exprome.come/photos/234 and also every photo would have its comment. any ideas? i think every comment should be saved with the photo id …

Member Avatar for isaac.iji.5
0
208
Member Avatar for bradly.spicer

Hi all, Been trying to do this for a while, I have a .js script which utilises node.js and socket.io. I'm trying to make it so that when I have the page localhost:3000 open and I type !follow in an IRC chat it will change the web page. **Index.html:** <!doctype …

0
152
Member Avatar for shammi.khan.73

Are there any good resources to get started with Node.JS? Any good tutorials, blogs or books? Of course, I have visited its official website http://nodejs.org/, but I didn't think the documentation they have is a good starting point.

Member Avatar for Squiva
0
320
Member Avatar for Benjamin_4

i want to know how i can get a json response from my node.js server and display the response on my web page ` var request = require("request"), username = req.body.username, password = req.body.password, url = "https://api.ecoachsolutions.com/main.php?ecoachsignin=1&server=remote&user="+username+"&pass="+password; console.log("url is "+url); request.get( { url : url }, function (error, response, body) …

0
121
Member Avatar for Clevertech.biz

Hey guys, For all web developers out there - a new boilerplate tool allowing to rapidly build Node.JS powered API’s, online stores, and many other apps (igloos) has been made available to the public - http://eskimo.io/. It’s open source! Here you’ll find more details, components, examples and the source - …

0
68
Member Avatar for nousername19

I am running my node.js server by forever and my script gets killed in 1-2 days and i get this error in the log file: error: Forever detected script was killed by signal: SIGSEGV Now i have many functions in my node.js script. Upon writing a console.log at the beginning …

0
120
Member Avatar for kannan mangalar
Member Avatar for NoUserNameHere

How do you pass a value of an input field from angular to node? For HTML and PHP you would do something like $username = $_POST['field_name'];, is there something similar with angular and node?

0
68
Member Avatar for McLaren

I have revencly experimented with backbone, but did not use in real project yet. WHen I have oportunity I will try at work. Now considering what to study next. I hear lot of node.js is cool. But really don't understand why should I learn it. I tried googling, reading stackoverflow …

Member Avatar for McLaren
0
128
Member Avatar for lmthuan

Hi all, i want to write an http-proxy progam by node.js that can store cache on my disk , so, how can i do ? thank !

Member Avatar for LastMitch
0
88
Member Avatar for Robert Rusu

Hello Does anyone know where I can order some node.JS books ( Real books not PDFS or articles ) Cheers, Robert

Member Avatar for LastMitch
0
88
Member Avatar for baig772

Hi all i am new to Node.js i followed the tutorial and typed the following [CODE]var sys = require("util"), http = require("http"); http.createServer(function(request, response) { response.sendHeader(200, {"Content-Type": "text/html"}); response.write("Hello World!"); response.close(); }).listen(8080); sys.puts("Server running at http://localhost:1331/");[/CODE] its running fine while i run it through cmd but when i open my …

Member Avatar for baig772
0
250
Member Avatar for Mkaveli

Hi i was wondering if someone knows some good tutorials on creating website with Node.js, jquery, ajax and HTML. Much appreciated, Mkaveli

0
60
Member Avatar for jeffcogswell

[ATTACH=RIGHT]19350[/ATTACH]In the past, the word "JavaScript" usually triggered notions of buttons changing when you float your mouse over them, and images flashing, and silly animations happening in the web browser. Today, however, most programmers recognize that JavaScript is actually much more than that; it's a powerful language that runs in …

6
433

The End.