Under light developenet
A minimal RESTful API to create, read, update and delete books. No database implementation yet Looking forward to be a full go rest api with Mongo databse intergration.
# Install mux router
go get -u github.com/gorilla/mux
go build
./go_restapi
GET api/books
GET api/books/{id}
DELETE api/books/{id}
POST api/books
# Request sample
# {
# "isbn":"4545454",
# "title":"Book Three",
# "author":{"firstname":"Harry", "lastname":"White"}
# }
PUT api/books/{id}
# Request sample
# {
# "isbn":"4545454",
# "title":"Updated Title",
# "author":{"firstname":"Harry", "lastname":"White"}
# }
Alpha Olomi hello@alphaolomi.com
0.0.2
This project is licensed under the MIT License