Skip to content

I have started learning of GoLang and adding all programs which write during learnings

Notifications You must be signed in to change notification settings

Sufiyan33/goLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Management System

Developed a online Book Management Systems, where you can add a new book having its name, author, publication & price. This has all http verbs means you can save, delete, update & fetch book. As of now I developed book management systems in backend & also tested with Thunder Client as well as in Postman everything is working fine. Later I will integrate with React. Although I tried to display some content using html.

Libraries :

  • Frame work : Gorilla mux framework
  • ORM : gorm
  • Database : mysql
  • JSON marshall, unmarshal

Component

  • Module
  • Controller
  • Config
  • Model
  • utils
  • Routes

Package Structor

  • cmd

    • main
      • main.go
  • config

    • app.go
  • controllers

    • book-controller.go
  • models

    • book.go
  • routes

    • bookstore-routes.go
  • utils

    • utils.go

Controllers Functions & Endpoints

Functions Endpoints Http verbs
CreateBook /book POST
GetBooks /book GET
GetBookById /book/{bookId} GET
UpdateBook /book/{bookId} PUT
DeleteBook /book/{bookId} DELETE

Fork

About

I have started learning of GoLang and adding all programs which write during learnings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages