Can someone explain what is going on in this code?

989 views
Skip to first unread message

Buddy Quaid

unread,
Aug 7, 2019, 4:23:24 PM8/7/19
to nodejs
Hi all, I am totally a noob and not a NodeJS developer but I hired one to build a website. 

He bailed on me and became unresponsive. The site did work at one point but now when trying to login, it's trying to use port 5001 and I'm getting a err_connection_refused in the code inspector when clicking submit on the login form.

I found this... I have no idea what hunthandy.com is by the way.

/**
 * Created on : 7/18/2016
 * Author : Babar Bilal <bab...@gmail.com>
 */

module.exports = {
  PORT : 5001,
  // dbname : "buddy-quaid",
  dbname : "buddy-quaid-staging",
  hostname : "http://localhost:5001",
  session_secret : "Babar@Bilal_1",
  domain: "http://hunthandy.com",
  insertAdmin : true,
  StripeToken: "REDACTED",
  StripePlanId: "REDACTED"
}

Can someone tell me if this is not kosher or what's going on?

Thanks in advance.

Koofka

unread,
Aug 8, 2019, 3:20:39 AM8/8/19
to nodejs
Those are just variable settings for other code to reference.  Along the lines of something you might do setting up an environment (i.e. dev / qa /prod)
Reply all
Reply to author
Forward
0 new messages