https://github.com/sufiyan33/golang
I have started learning of GoLang and adding all programs which write during learnings
https://github.com/sufiyan33/golang
go golang
Last synced: 2 months ago
JSON representation
I have started learning of GoLang and adding all programs which write during learnings
- Host: GitHub
- URL: https://github.com/sufiyan33/golang
- Owner: Sufiyan33
- Created: 2023-10-04T09:00:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T09:08:27.000Z (over 1 year ago)
- Last Synced: 2025-01-30T05:43:44.518Z (4 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 41.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- Don't forget to clone this repositroy
- https://github.com/Sufiyan33/goLang.git- Follow me for more such types projects.