rgreen312 / OwlPlace

https://rgreen312.github.io/OwlPlace/
5 stars 1 forks source link

[WIP] backend: add go structure & simple api server #4

Closed gvacaliuc closed 5 years ago

gvacaliuc commented 5 years ago

This patch adds the structure for a simple go project as well as a very simple HTTP server.

build

(from the 'server' directory)

go build

run the server!

go run server.go

or

./server

make an api request

$ curl localhost:3000/hello
hello