Skip to content

KoSimMic [Koko Simple Microservices] My #002 Mini Project on learning Go.

Notifications You must be signed in to change notification settings

kokolingga/kosimmic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP] KoSimMic : Koko Simple Microservice

My #002 Mini Project on learning Go.

Based on Nicholas Jackson's tutorial

Run the Apps

  • $ go run main.go

Hit the endpoints

(playing around endpoints)

  • $ curl -d 'yourname' localhost:9090/hello
  • $ curl localhost:9090/goodbye

(REST endpoints)

  • $ curl localhost:9090

  • $ curl localhost:9090 -X POST -d '{"name": "Ice Tea", "description": "Indonesian Traditional Ice Tea", "price": 15000, "sku": "tea007"}'

  • $ curl localhost:9090/1 -X PUT -d '{"name": "New Latte", "description": "New Description", "price": 250, "sku": "newlatte001"}'

About

KoSimMic [Koko Simple Microservices] My #002 Mini Project on learning Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages