Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 624 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 624 Bytes

RESTful BookServer HTTP API server using Go, Cobra CLI, Go-chi

A simple api server for learning purpose.

Running the server

Running the server from direct source code

  • git clone https://github.com/souravbiswassanto/api-bookserver.git
  • cd api-bookserver
  • go build .
  • ./api-bookserver start . or ./api-bookserver start -p 3000

Running the server from docker image

  • docker pull souravbiswassanto/bookserver
  • docker run -dp <choosen port>:8081 souravbiswassanto/bookserver