In this article we will talk about distributed systems. What is it and what is related with. Keeping in mind that there’s alternatives definitions about it but in the end, all of them as the same purpose.
Also known as distributed computing, a distributed system is a system with multiple components located in different machines that communicate and coordinate actions in order to appear as a single machine to the end-user.
The machines can be any type of, as computers, servers, virtual-machines or any node that can be connected into a network. …
As a Distributed Systems 2020–21 Class project, in this article we will create a very simple API called SwaggerCalculatorAPI using the Nodejs and Swagger that will allow us to make a simple math operation with a GET request where we will use the Swagger yaml code to create the UI of our API. This API can be later improved as anyone desires.
Having the Visual Studio Code installed on a Windows 7 machine, we will start the VSCode and on the left of the window, on the explorer, we will create a new folder named SwaggerCalculatorApi.
Right-click on it, and…
As a Distributed Systems 2020–21 Class project, in this article we will create a API called FileTransferAPI using the IBM LoopBack 4 that will allow us to upload and download files.
Having the Visual Studio Code installed on a Windows 7 machine, we will start the VSCode and on the left of the window, on the explorer, we will create a new folder named FileTransferApi.
Right-click again on the folder explorer item and click Open in Integrated Terminal (and choose as New Command Prompt in the dropdown menu).
Navigate to the FileTransferApi folder early created, and if you never have…
As a Distributed Systems 2020–21 Class project and a continuation to the [IBM LoopBack 101] A Small ToDoList API with MongoDB article, in this one we will add a authentication feature into the a developed API.
So to continue, as in the previously article, having the Visual Studio Code and MongoDB installed on a Windows 7 machine, we will open the project in the VSCode and on a new terminal, as Command Prompt, navigate in the terminal into the project folder (small-to-do-list-api) and execute the following code to install the @loopback/authentication-jw extension.
npm i --save @loopback/authentication @loopback/authentication-jwt
In this article, as a Distributed Systems 2020–21 Class project, we will make small ToDo List API that will save data into a MongoDB database. Keeping in mind that exist many different ways to make this work, where in this article we will show a first attempt to make this done.
“LoopBack is a highly extensible, open-source Node.js framework based on Express that enables you to quickly create dynamic end-to-end REST APIs and connect to backend systems such as databases and SOAP or REST services.With …
In this article, as a Distributed Systems 2020–21 Class project, we will make a simple COVID19 app where will shows us specific data from a MongoDB database. Keeping in mind that exist many different ways to make this work, where in this article we will show a first attempt to make this done.
As asked by the teacher, the objectives are the following:
To testing this feature, we will considering a store that have four categories like Store, Laptops, Smartphones and Tables, where we will implement a service that responds to requests based on the URL.
As done in the previously articles, in a Microsoft Windows 7 machine, and in any location desired (for example, Desktop), press SHIFT+RIGHT MOUSE and select “Open Command Window here”.
(For Windows 10 users if…
After completing the [Node.js 101] Getting Started tutorial, we will make a small meteorologic App where the objective will give some specified weather information of a specified chosen region like, temperature and humidity, using Node.js and the OpenWeatherMap API. This last one, as a public API, will allow us to access that specific weather information using a API Key.
Go to OpenWeatherMap website and login in with your credentials, if you dont have a account yet make one.
After login in, click on the ‘API Keys’ tab where will appear a default key where you can use that one or…
You can visit their official website (https://nodejs.org/) to know more about it and download the Node.js Installer where is available for…