+ 19
NodeJs or AngularJs?
What is the difference between nodejs and angularjs? In which cases nodejs be used. I understand that nodeJs is a framework and is good for making web services. Is AngularJs equally good? I am imagining they both are based on Javascript.
3 Answers
+ 8
Angularjs is for the front end. it is a JavaScript module and its code is executed(interpreted) by the browser
Node.js is a programme that interprets JavaScript. It replaces a browser, so that you can run JavaScript like just another script language. As such, it allows to run JavaScript on the backend, like (or instead of) php or python.
+ 14
thanks a lot! it makes a lot of things clearer.
0
for rest services or api rest are the frameworks based on nodejs as express.js or nest.js for banckend while angular is a framework for the client side based on HTML CSS and JAVASCRIPT or TYPESCRIPT components Here is an example of the use of the frameworks for a web application.
https://gitlab.com/crisjc/gestion-edificios