Docker containers running sample nodejs app among others tools for learning purposes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Yutsuo d45112fd50 Phase III Task 2 7 years ago
mongo Starting Task 5 7 years ago
nginx Phase III Task 2 7 years ago
nginx2 Phase III Task 2 7 years ago
node Phase III Task 2 7 years ago
.gitignore first commit 7 years ago
.gitlab-ci.yml learning CI/CD for real 7 years ago
README.md Phase III Task 2 7 years ago
ambiente_git_labbs.txt learning CI/CD for real 7 years ago
docker-compose-full.yml Phase III Task 2 7 years ago
docker-compose.yml Phase III Task 2 7 years ago
org_cheat_sheet struggling with mongodb image 7 years ago
package-lock.json first commit 7 years ago
prometheus.yml learning CI/CD for real 7 years ago

README.md

Fase III

Primera tarefa:

Implemente um serviço REST em NodeJS que exponha o endpoint "/token" que receba o JSON "{user:'user1', password:'pass1'}" e retorne um token JWT caso sucesso, ou status 500 caso contrário.

Segunda tarefa:

Crie uma página HTML que solicite usuário/senha, invoque o serviço da primeira tarefa e mostre a mensagem "Autenticado com sucesso" ou "Falha na autenticação".

Essa página deve estar em um segundo container e servida por NGINX. Mande o print da sua tela!