Skip to content

This is a beginner-friendly CRUD API for managing books, developed using Golang with MySQL as the Database. It efficiently handles API routes for GET, POST, UPDATE, and DELETE operations.

License

Notifications You must be signed in to change notification settings

ROUNAK-K-JHA-2002/book-management-api.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Management API using Golang

App Screenshot

💻 Tech Stack:

GoMySQL

API Reference

--Get all Books

  GET /book/
Parameter Type Description
nil nil nil

--Add a book to DB

  POST /book/

Body to be sent in raw JSON format

Parameter Type Description
Name string Required. Name of book to be stored
Author string Required. Author of book to be stored
Publication string Required. Publication of book to be stored

--Get a specific book

  GET /book/${bookId}/
Parameter Type Description
id string Required. Id of item to fetch

--Update a specific book

  PUT /book/${bookId}
Parameter Type Description
id string Required. Id of item to Update

Body to be sent in raw JSON format

Parameter Type Description
Name string Required. Name of book to be stored
Author string Required. Author of book to be stored
Publication string Required. Publication of book to be stored

--Delete a specific book

  DELETE /book/${bookId}
Parameter Type Description
id string Required. Id of item to delete

About

This is a beginner-friendly CRUD API for managing books, developed using Golang with MySQL as the Database. It efficiently handles API routes for GET, POST, UPDATE, and DELETE operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages