B
B
bumbay2014-06-30 11:18:07
Angular
bumbay, 2014-06-30 11:18:07

How to develop web applications with NodeJS and AngularJS?

1. How to give statics correctly? Use nginx?
2. How to develop an application correctly? On a PC, then upload to the server? Or directly on the server?
3. How to autostart the node web server when the server is restarted?
4. How to update a running web application with users?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
buzzi888, 2014-07-30
@bumbay

1. The node copes well with loads, but it is better to use proven and fast solutions - static - nginx, application - nodejs
2. Locally, there are no options here
3.4. pm2 - process manager, launches and monitors processes, collects logs, restores the state after restarting the server (computer), has a dashboard, can update a running application from zero downtime and a bunch of other useful functions

Z
zTrue, 2014-07-01
@zTrue

1. For the backend, you can use the express framework. For statics there is express.static()
expressjs.com/4x/api.html#app.use
2. Locally
3. forever https://github.com/nodejitsu/forever
4. Had to restart node after update, but maybe some frameworks allow you not to do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question