Reputation: 15548
As stated in the title,
I don't really understand how Node.js works and above all why it's actually used to run an AngularJS application (e.g. in WebStorm IDE this is the default option when you create an AngJS project).
I've got this doubt since I could run a simple AngularJS app on an Apache web server (within Xampp) without any involvement of NodeJS.
Thank you in advance
Upvotes: 0
Views: 277
Reputation: 10145
You are correct that many apps can run anywhere, but some benefits we've seen are:
Upvotes: 1
Reputation: 163272
Node.js is an application platform. It's good for running your applications on.
Apache HTTPD is a web server. It's good at serving web pages.
They're two very different things, not directly related, and not mutually exclusive.
Upvotes: 3