Questions tagged as 'express'

0
answers

Recover token with json web token and nodejs

Good I have an api made with express but I do not know how to save the token, any help? Controller code that creates the token which works correctly: function login(req, res) { const { name, pass } = req.bo...
asked by 21.11.2018 / 19:10
1
answer

Dialog in console, product of functions in Node.js

I would like to know the reason that this dialogue takes, or why it is shown.    "(node: 16232) DeprecationWarning: collection.count is deprecated, and   will be removed in a future version. Use collection.countDocuments or   collection.estim...
asked by 23.11.2018 / 00:36
1
answer

How to save a value in mysql with express

I'm doing a login but I have a problem that I can not save the data in mysql. For the register I made a form with a method post. With express create the connection that is this: const mysql= require("mysql"); module.exports=()=>{ retur...
asked by 17.11.2018 / 16:27
0
answers

How to use an action of a form in html

What kind of guys do I have a problem with, I'm trying to make a server with a register and a login and I could connect the whole database perfectly but my problem is that I have a form where there are 4 fields of input text and a submit and I w...
asked by 11.11.2018 / 01:56
0
answers

error failed to lookup view

I am currently starting with my learning with NodeJS and express. My problem arises with a route that sends me an error, in this case with the user path const router = require('express').Router(); router.get('/users/signin', (reg, res) =&g...
asked by 26.11.2018 / 01:06
0
answers

How to view queries and tables made in Visual Studio Express 2013

Hello in my programming classes we use SQL 2008 to practice and this shows the result when we execute a query line    SELECT * from table1 And this in turn shows in a window below the data that is in that table. But on my laptop I have th...
asked by 01.11.2018 / 01:31
0
answers

Video Server with Node, Express, MongoDB and Angular

I would like if you could guide me a bit, I am making an application of videos, the user registers, uploads videos, and sees them. The administrator accepts or rejects videos. The video is sent to a stock agency. My problem is the followin...
asked by 29.10.2018 / 21:15
0
answers

Response with status: 0 for URL: null

Dear I have the following error, I want to return an error message with the content inside a bootstrap alert, but it does not leave me as you see in the images. What do you think it could be, thanks in advance. I'm working with Node.js, Angular,...
asked by 26.10.2018 / 23:08
0
answers

javascript - mercadopago.ipn.manage error Invalid Topic (undefined).

I am trying to create a receiver for the ipn of mercadopago, saying this, I receive an error that marks me: Unhandled rejection Error: Invalid Topic (undefined). The topics available are: preapproval, authorized_payment, payment, merchant_o...
asked by 24.10.2018 / 03:51
0
answers

numbers in express and nodejs (body-parser)

I have the following problem. When the POST is made to the bakcend (Nodejs) and the last information is logged in the console the value of the inputs of type="number" is shown as if they were strings. This is what it says: { student: 'a',...
asked by 11.10.2018 / 20:25