Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Latest commit

 

History

History

client-app-go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Client App Go

Build & run

  • Locally

     go build .
     go run main.go
     	or
     ./client-app-go
    
  • On docker

     docker build . -t client-app-go:latest
     docker run -d --name client-app-go -p 8080:8080 -p 8090:8090 client-app-go:latest
     docker logs client-app-go -f
    

API calls


REST endpoints

  • GET /users get all
  • GET /users/{email} get by email
  • POST /users insert new
  • PUT /users update
  • DELETE /users delete all
  • DELETE /users/{email} delete by email

Versions

0.0.1

  • rest apis
  • kubernetes probes
  • go structure
  • expose logs

0.0.2 - TODO

  • expose metrics
  • expose traces

0.0.3 - TODO

  • use kustomize for kube manifests

Links