Livefyre Profile

Activity Stream

@draculess99 @joeeames  - I found a good article on the differences between express 4.0 vs 3.0 and the changes you need to make: 


http://scotch.io/bar-talk/expressjs-4-0-new-features-and-upgrading-from-3-0

1 week, 3 days ago on

Reply

@stevemgentile @adimauro @joeeames  Thanks for the reply, yes, that is very helpful, thanks. Heroku seems to make it very easy. I'm also in the process of setting up a cloud server, so I'll have to figure out how to do it outside of heroku as well.

1 week, 4 days ago on

Reply

@joeeames - Speaking of 'bulletproof' implementations, in regards to making the app a little more secure. How would you go about hiding the mongodb credentials that are currently in the call to mongoose.connect()? Would you use Node.js environment variables set on the production server, or is there another method?

1 week, 4 days ago on

Reply

@aixki @adimauro @Tuyen Nguyen  - Yes, I see that the angular-seed project no longer uses a web-server.js file, but an npm package called 'http-server'. I'm assuming you don't have to use this to start angular-seed. Don't type 'npm start'. Instead, just copy the author's web-server.js file and run the command: node web-server.js


The only issue I see is that it may not be compatible with the new version of angular-seed. I don't use angular-seed, so I don't know how much it has changed. If this is the case, then either the author needs to update the web-server.js file, or you can go back into the commit history of angular-seed and download an older version that is compatible:


https://github.com/angular/angular-seed/commits/master

2 weeks, 1 day ago on

Reply

@aixki @Tuyen Nguyen  - Are you just trying to start the angular-seed project? According to the docs on Github, all you have to do now to start the angular-seed project is type: npm start


Did you try that? Go to the Github project: https://github.com/angular/angular-seed


Scroll down to the 'Getting Started' section, and that gives step by step instructions for using angular-seed.

2 weeks, 1 day ago on

Reply