Questions tagged as 'restify'

0
answers

Send post parameter to restify

I'm trying to send parameter to nodejs with restify, but it's always getting undefined I'm sending more or less like this: $.ajax({ url : 'http://localhost:8080/api', type: 'post', dataType: 'json', data:...
asked by 20.07.2018 / 20:52
1
answer

Connection being refused

Following this tutorial of Vedovelli on node with restify and mysql, implemented on the server with pm2. Only after a few days the connection started to be refused You're showing this message: errno: 'ECONNREFUSED', code: 'ECNNREFUSE...
asked by 03.08.2018 / 13:14
0
answers

Customize .env file

How can I configure the .env file to be prepared for different connections, such as: If I want production I go there in the .env file and change the DB_HOST = 185.565.55.5 If I want to test I go there in the .env file and change the DB_HOS...
asked by 20.07.2018 / 21:25