Skip to content

Creating Library Management API performing CRUD operations with database as SQL

Notifications You must be signed in to change notification settings

nikhilrana015/Library-Management-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management API CRUD Operations

Created a Library Management API performing all CRUD operations. Using golang as a programming language and gorilla-mux as golang-web framework. Using sql as a database, sql-workbench as visual tool for database and GORM as Object Relational Mapping (ORM) library. Used Postman to design, build and test API's crud operations.


1. Add a new book

  • a) In-Postman

Add new book-1

Add new book-3

  • b) Sql-workbench

Add new book-1

Add new book-3

2. Get book with book-id

  • a) In-Postman

get book with book-id

book-id not found

3. Update book with book-id

  • a) In-Postman

Update book with book-id-1

  • b) Sql-workbench

Update book with book-id-1

4. Get all books

  • a) In-Postman

get all books

  • b) Sql-workbench

get all books

5. Delete book

  • a) In-Postman

delete book with book-id

book not found

  • b) Sql-workbench

delete book with book-id

6. Check-out Book

  • a) In-Postman

check-out book with book-id

check-out book Quantity-Zero

  • b) Sql-workbench

check-out book with book-id

7. Check-in Book

  • a) In-Postman

check-in book with book-id

  • b) Sql-workbench

check-in book with book-id

About

Creating Library Management API performing CRUD operations with database as SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages