Developing an API in nodeJS
Node JS, what is it?
Node JS is a non-blocking solution, which means that it does not wait for a task to finish before starting a new one.
It therefore has advantages for Single Page Applications (SPA), i.e. applications such as Angular that allow access to content on a single page: the content changes immediately according to the user's actions, without the need to refresh the page.
Node JS is also particularly well suited to applications that need to update very frequently (called RTA: Real Time Application), such as instant messengers, which require a lot of requests to receive messages immediately.
Node JS is very flexible: you can choose the modules you want to add to it and use a large ecosystem of libraries and frameworks. For example, it can be used with Angular, React Native, React JS and Symfony in some particular cases. This solution allows you to manage the whole functional part of the application with a great flexibility;
In what cases do we use nodeJS?
We will choose Node JS to develop solutions that need to solicit many requests simultaneously. That's why the platform will be efficient for creating software packages.
It is also mostly used to create services and make them available via APIs (Application Programming Interface).
What is an API?
It is a strong programming interface that allows an application to access a service provided by another third party system (for example, Google Maps has a route calculation service that it makes available through an API that can be integrated into a web or mobile application).
Some points that the team particularly appreciates with Node JS :
- Sa flexibility of use with many libraries and many Framework
- Its power of request management
- It is a solution that is very central to Advency on the development in web 3.0.