Project in go created for studies
-
Requirements:
- go version go1.13
- docker and docker-compose
-
Run project:
- docker-compose up
- go run main.go
-
Endpoints:
/books
GET, POST/books/{bookID}
GET, PUT, DELETE
-
Json example:
{
"name": "Water for Elephants",
"author": "Sara Gruen",
"publication": "May 26, 2006"
}