/pair-monitor-go

A framework less REST Api created using golang

Primary LanguageGo

A framework less REST Api created using golang

pair-monitor-go is an attempt to learn to develop a REST Api using golang. I have used only libraries instead of frameworks like buffalo/revel.

libraries used for

Starting the app

go run main.go or with hot reload gin -i run main.go

Api endpoints

  • record a dev pairing session: curl -X POST http://localhost:5000/sessions -d 'dev1=Superman&dev2=Batman'
  • get all sessions: curl -X GET http://localhost:5000/sessions