I was working on a MERN app and was trying to use jason web-token (JWT) and bcrypt for authentication. It uses two routes for signup and authentication. However
I have a Node.js AWS Lambda function created via the serverless framework. I have multiple helper functions inside it. I am having an issue with one of them due
I want to append to second last line of a file using NodeJs! I hope I am making sense. Thanks in advance My current code which appends to end of the file: fs.ap
how could I use this code in python with tensorflow js? it is to occupy it with a model that was trained with the dataset tf.keras.applications.ResNet152(input_
I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u
I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u
I have React+next and node js projects I want to deploy that project in one port. For that, I created ts file to js and ran the. next folder to the backend side
This is my first time connecting to a Firebird database from Node JS. I'm using the "node-firebird" package. Everything seems to work fine. But I get these <
My package.json is like "scripts": { "dev": "next dev" }, "dependencies": { "next": "^12.1.5", "react": "^18.0.0", "react-dom": "^18.0.0"
Below you can see my graphql method. From this, I can get the first data of the database that city is equal to 'London'. But I want to view all the data related
This my first question but I completely have noo idea what to do :/ I learn javascript technologies. I've written my MERN app where I handle login and register
I'm trying to run Nodemon package in a Docker Network with two services, NodeJs and MongoDB. When I run the app with npm start, nodemon works: I can connect to
I'm having a little trouble understanding async with Node, I understand how to they work but every now and then I run into these problems that take up a lot of
Problem: want to replicate mongodb data across servers but also like to alter a few attributes before to restoring. Server 1 (DB) -> Transform data of collec
http://chucklets.no/getOnlineTime When I click this I can see the JSON and it looks fine. But when using fetch it API Node.js code: app.get('/getOnlineTime', (r
I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType
I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType
What it looks like when the server is running on localhost:300 : What the HTML looks like itself: I am very new to this and trying to make a video game websit
I have the following function to remove document from index: async deleteDocument (indexName: string, id: string) { const indexExist = await this.isIndexExi
I am trying to develop a mail sending module in my NestJs project. when I send the mail through my local machine it works fine. But when it goes to the server (