Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

node.js

  1. Elitequestion

    Node.JS Node Js

    https://ibb.co/MBhC7yt -> book-router.js Task 2. Create books to the server API In the base solution, existing books can only be fetched using the API. The remaining three tasks are concerned with extending the API to add, modify and delete books. In this task, you will add a new endpoint to...
  2. gregosilaja

    Node.JS how to fix connect ENETUNREACH on npm on linux

    i am not using a proxy im just a noob trying to learn how to develop with `create-react-app` locally on my machine(linux) this is the output of `tracepath registry.npmjs.org` ``` 1?: [LOCALHOST] 0.020ms pmtu 1500 1: 2001:4451:664:1400:caf6:c8ff:fef2:bdcb...
  3. edwardsmarkf

    JavaScript promises changing question

    hello all, first time on this forum. i have serious problems trying to wrap my head around promises, so i have decided to just keep a couple of working examples around so i can refer back to those. here is an example i was able to put together: const firstPromise = (promiseInput) => {...
  4. F

    JavaScript Extract variable value from mysql query result

    This may seem like a pretty basic one but I am executing the query: var sql = 'SELECT command FROM motoron2 ORDER BY id DESC LIMIT 1'; and seeing the following from console.log(result) --> [ RowDataPacket { command: 1 } ] How can I make a variable named command equal to 1 from this? Below is...
  5. N

    Node.JS Https requests via 2 socks5 proxies

    I am trying to achieve an experimental setup in nodejs as illustrated below: https-server --> local socks5 proxy (Tor) --> my external socks5 proxy --> webserver. The existing https-server was written in nodejs and it intercepts requests from the clients firefox browser, modifies the headers...
  6. E

    Node.JS How do I collect HTML form data when hosting using Node.js as backend?

    I am trying to setup a small application to collect form data from users and store it on MongoDB database. I was able to do this on my local server by setting the HTML action attribute to point to my localhost route used for setting up the Express post method which is...
  7. Supa

    Node.JS MongoDB/Mongoose save a string to a specific collection

    there is a thing that im confused about, i'm using node.js and express.js (template express) and i have a mongodb database. i have some code like this ```js //variables for router, mongoose e.t.c are included, but that would be long router.get("/", landing.get_lead); //connects to mongoose and...
  8. TechPro424

    Node.JS My `warn delete` subcommand is not working as expected, please help me out

    I'm trying to delete a warn by using its `_id` property, but it is unable to find the warn, but when I console.log all the warns, it is there. Why am I unable to find the warn? My warn.js command const schema = require('../../models/welcome.js') const { MessageEmbed } = require("discord.js")...
  9. CrimsonKing

    Node.JS Recreating My Arcade Bot In JavaScript And Would Like Some Assistance In It's Development.

    Hello I am currently recreating my arcade bot that was in C# into node.js, and i'd like some help with it. I recently posted on it's C# thread that i'd like help with its main features including the database. If you have any experience with databases and node.js, and would like to help me out...
Back
Top Bottom