A sample API built using Golang Fiber Framework which is then containerised through Docker
docker build -t golangfiber .
docker run -d -p3000:3000 golangfiber
GET
localhost:3000/all
GET
localhost:3000/api/getonebook/1
POST - JSON in raw body (postman)
localhost:3000/api/addonebook
{
"BookId": 3,
"BookName": "Kaustubh",
"BookAuthor": "Kishore"
}
DELETE
localhost:3000/api/deletebook/1