Skip to content

pgschk/ksc-employee-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KSC Employee Mock API Server

A very simple mock API server, returning fake employee records

Build

go build -o ksc-employee-mock .

Run

Commandline

./ksc-employee-mock
curl http://localhost:8080/v1/employees

Docker

docker run -p 8080:8080 ghcr.io/pgschk/ksc-employee-mock
curl http://localhost:8080/v1/employees

Kubernetes

kubectl create -n <namespace> -f ./k8s/deployment.yaml
kubectl port-forward -n <namespace> svc/ksc-employee-mock 8080:80
curl http://localhost:8080/v1/employees

About

A mock server to respond with fake employee data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages