Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 439 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 439 Bytes

hank-api

A RESTful API written in Golang for learning purposes.

#Build and Test

Build & Docker

You can build this project in two ways:

  • golang: go build
  • docker: docker build .
  • Testing: go test

Usage

To start the server: ./hank-api

To run the locally generated image:

docker run -p 8080:8080 hank-api:latest

curl http://127.0.0.1:8080