Skip to content

mrinjamul/gin-bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin-bookstore

Simple CRUD Operations for bookStore.

Gin by Example !

Used Tools and Technologies

Available secrets

For ENV,

# Golang ENV (.env)
GIN_MODE=release
PORT=<your port>

Build

go mod download
go build -o gin-bookstore .

Running

./gin-bookstore

Endpoints

Methods Endpoints Description
GET / Hello World
GET /books Get All books
POST /books Create a book
GET /books/:id Get book by id
PATCH /books/:id Update book by id
DELETE /books/:id Delete book by id

Author

License