Answer the question
In order to leave comments, you need to log in
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
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
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 questionAsk a Question
731 491 924 answers to any question