Sign in

Computer science student

Este trabalho foi feito em grupo com Rui Pissarra.

Para fazer este tutorial e necessário criar uma maquina virtual com o ubuntu:

Apos ter criado a maquina virtual e necessário fazer dois clones da mesma usando a seguinte configuração:


On this tutorial we will install and configure hadoop on ubunto with single-node.

First we will need:

Virtual boxhttps://www.virtualbox.org/wiki/Downloads

Ubunto 18.04https://releases.ubuntu.com/18.04/

After that we will install ubunto on virtual box to do it chek this tutorial:

After that our the setup its done we will start by opening the terminal on ubunto:

Check you you have ja installed with this command:


Este projeto foi realizado por Pedro Antunes e Rui Pissarra.

Para criar esta API de iremos utilizar o node.js para o seu desenvolvimento, utilizaremos o MongoDB para guarda a base de dados, a documentação utilizaremos swagger e colocar a API no Azure.

O primeiro passo será introduzir os seguintes comandos no prompt do nodeJs:

De seguida iremos introduzir os dados no MongoDb, para tal teremos que criar uma “collection” e introduzimos os seguintes dados:


Um sistema distribuído é um software que corre sobre uma coleção de nós computacionais independentes, separados fisicamente mas ao mesmo tempo conectados entre si . Cada nó individual contém um subconjunto de software do sistema operativo associado, apresentando-se aos utilizadores como um sistema único e coerente, apresentando as seguintes caraterísticas:

-Comunicação através de mensagens

-Concorrência

-Partilha de recursos

-Sistema assíncrono

-Falha independentes

-Heterogeneidade

Existem vários exemplos de sistemas distribuídos entre eles são:

  • Motores de pesquisa
  • Sistemas financeiros
  • Jogos Online
  • Redes Sociais e plataformas idênticas

Os exemplos apresentados anteriormente têm máquinas por todo o mundo, com acessos concorrentes e muitos desafios…


To start this tutorial you must have some knowlege of nodejs, if not check my previous tutorials.

First create a folder where our api is created, then on nojs cpromps change the directory to that folder and type the following commands:

After that crate a…


For this tutorial we gonna use a previous tutorial that you can access here.

The first step is to create two Typescript files named keys.ts and keys.ts, with the following code:

For the keys.ts file:


The first step is to duplicate our previous project or create a new one y can acess it my previous tutorial here.

Lets begin with opening Noddejs command prompt an type the following commands:

And install the authentication extension:

After the instalation is complete go to the root folder of our project and open the src folder and the open as well the application.ts file with notepad++.

Pay atention on this step, the file must have the following code, adapt it so it culd look like this:


For this tutorial we will use Node.js and some concepts os JavaScrip an REST

First step is open Node.js command prompt, change the directory and type the following command to install LoopBack 4 CLI:

Then Run the command to select and clone the todo repository:

Switch to the directory.

And finally test the aplication:

The next Step is to create our app scaffolding begin to write the command:

And Complete the questions with the following answer:


So in this tuturial we will demonstrate how to show covid-19 data (Portugal) between 29/03 to 03/04:

>List number of new cases (for all days of the week)
>List number of intensive care admissions (for all days of the week)
>Day with more new cases
>Day with fewer cases
>Average 7 days
>Total number of new cases in the week

So the first step is to crerate a folder for this project named CovidApi, then we will type the following commands in our Node.js command prompt:

The next step is create…


If you are new using NodeJs i sugest you to check my previous tuturials:

How to make your first program in Node.js and How to create a server in node.js .

The first step is create a folder named BioUtilizadores, then on the nodeJs command prompt type:

The next step is to install the extensions needed by typing the following command:

Pedro Antunes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store