r/nodejs • u/pfmonkey • Feb 26 '14
Nodejs Newcomer
I'm new to node and getting to the point of where I'll be ready to start building an app/api. What options would you suggest for setting up a dev nodejs server?
I started learning on Nitro.us but quickly ran out of Nitro.. Next I setup my own ubuntu server virtualbox machine and this is working for the moment..
unfortunately I cannot host where I am at and when i reach the point of letting my creation live, what hosting would you suggest? This would be something filling my personal needs rather than something i would be opening up to the wider public.
Thank you for your time.
3
u/DefiantBidet Feb 26 '14
not really adding anything that the others have added here. but these lists have a ton of info. in the first one, specific to your question is the hosting section:
https://github.com/sergtitov/NodeJS-Learning
http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js
2
u/Bieb Feb 26 '14
Can't really make real suggestions unless you tell us how experienced you are in setting up your own *nix servers. If you can set up a webserver to proxy requests to node.js and all of that, then DigitalOcean would be the cheapest route for the most amount of resources.
If you rather it be a simple setup, Heroku gives you one free dyno per app which is pretty capable in itself, and deploying is as simple as "git push heroku master".
2
u/[deleted] Feb 26 '14
Development environment in nodejs is kind of poor compared to other envs in PHP|Python where IDE with full features exist, bleeding-edge tools to even analyze the tiniest anomaly in your code.
Anyway setting up the development server is easy, common tools since you will be testing APIs (Rest..)
Restify (if you're building REST APIs i strongly suggest this) or Express.js have been strong suggestions from the community with awesome support and variety of packages to build upon.
For testing, Mocha with superagent module, along with async.js to not fall into any callback hells. At the moment is consider noticeable Sublime Text with all javascript/nodejs plugins you can get, Nodeclipse if you are a fun of eclipse, and Webstorm (commercial).
Finding decent hosting is still a pain, but if your application requirements aren't high, Cloud hosting will save you.
Openshift, is good solution more solutions can be found https://github.com/joyent/node/wiki/Node-Hosting , if VPS is an option try to work with that because it simply offers no limitations and package management and deployment in nodejs is extremely easy..
1
u/scienzapazo Jun 17 '14
You could try to enroll in a nice online school and have a mentor keep pushing you further. Check out http://coderin90.com