Skip to content

wolfsoldier47/golang_bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang_bookstore

This a practice repo.an API which works mysql database.

setup a local database with the following credentials:

username:test
password:test123
table:simplerest

to add a book use the following variables:
{
  "name":"",
  "author":"",
  "publication":""
}


The routes to access the REST API:

Action ROUTE METHOD
Get_ALL_books /book/ GET
ADD_A_BOOK /book/ POST
GET_BOOK_BY_ID /book/{bookID} GET
UPDATE_BY_ID /book/{bookID} PUT
DELETE_BY_ID /book/{bookID} DELETE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages