Skip to content

Instantly share code, notes, and snippets.

View andrealmar's full-sized avatar
🏠
Working from home

Andre Almar andrealmar

🏠
Working from home
View GitHub Profile
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
  name: grafana
  namespace: istio-system
  labels:
    app: grafana
type: Opaque

go build

./go-docker

OUTPUT: 2019/12/01 09:48:40 Starting Server

Test the application:

curl http://localhost:8080

Olá,

Queremos te conhecer melhor e para isso te convidamos a realizar o seguinte teste técnico:

Você acabou de começar um novo desafio como Desenvolvedor PHP na empresa Contact List LTDA. E a sua primeira tarefa será desenvolver uma API para gerenciar uma Lista de Contatos.

Os requisitos para a construção desta API são:

  • Usar o paradigma REST (Representational State Transfer)

Dockerfile NGINX

# Start from the latest golang base image
FROM nginx:1.19-alpine

# Expose port 8080 to the outside world
EXPOSE 80