Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no config.js as defined in server.js #10

Closed
n3a9 opened this issue Feb 10, 2017 · 4 comments
Closed

no config.js as defined in server.js #10

n3a9 opened this issue Feb 10, 2017 · 4 comments

Comments

@n3a9
Copy link

n3a9 commented Feb 10, 2017

server.js has var config = require('./config.js'); but there is no config.js file in the same directory

@sahibjotsaggu
Copy link

Yes, it would be helpful to get a template of the config.js file.

@therealAJ
Copy link
Owner

config file has API secrets on it. Template is a mongoDB auth config.

@sahibjotsaggu
Copy link

@therealAJ can you give just the properties of the config file?

For example:

module.exports = {
    'port': '',
    'database': '',
    'secret': '',
    ...
};

@therealAJ
Copy link
Owner

therealAJ commented Feb 10, 2017

Sure thing,
module.exports = { 'database': '', 'port': '', 'secretKey': '' };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants