Skip to content

lucascoelhosilva/api-books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-books

Project in go created for studies

  1. Requirements:

    • go version go1.13
    • docker and docker-compose
  2. Run project:

    • docker-compose up
    • go run main.go
  3. Endpoints:

    • /books GET, POST
    • /books/{bookID} GET, PUT, DELETE
  4. Json example:

{
	"name": "Water for Elephants",
	"author": "Sara Gruen",
	"publication": "May 26, 2006"
}

Releases

No releases published

Packages

No packages published

Languages