I was used to use java as the server-side language to provide restful api for angularjs. But now I try to use javascript on the server side, that I can use the same language in both side, and don't need to convert json to other objects everywhere.
But I'm newbie to server-side js, I don't know is there any best practices. Please give me some advices, thank you.
I want to build a website, which has many groups, and people can write articles in any group. It will be running on a 512RAM vps box(which is on
burst.net) at the beginning(maybe a long time).
1. I'm using node.js. I found it has built-in support for creating web server, is it production ready?
2. I found there is a web framework "express", is it better than the nodejs'?
3. Do I need to learn coffeescript if I want to be more productive?
4. Which database should I use? Mongodb or couchdb?
5. Is there any other good js libraries which used widely that I should learn?
6. Other advices to make me a better js developer?
I've used Java for nearly 7 years, and now I feel a little disappointed that it's not as productive as I expected to build websites, so I trying to jump to javascript world.
Angularjs is the main reason I decide this. Amazing framework, warmhearted people in this group, quick responses and helps, thank you all!