Skip to content

MrBessrour/golang-CRUD-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

crud restful api with golang , gorm , gin and mysql


this api does a simple CRUD operations on a single table mysql Database .

this is build on top off gin framwork and GORM library

link to GORM!
link to gin!

the api use different HTTP methods ( GET, POST, PUT, PATCH, and DELETE )

to make this work correctly you need to :

  • you need to clone gin and gorm
  • you need to have mysql installed in your machine ( install xampp if you don't have )
  • create a new empty database and call it 'CRUD'

to add the gin framwork (copy and past this into ur terminal)

go get "https://github.com/gin-gonic/gin"

to add the GORM library (copy and past this into ur terminal)

go get "https://github.com/go-gorm/gorm"

if you found this helpful somehow , credit me as Brahim Bessrour .
play my latest game here .

About

golang crud restful api with gorm , gin and mysql DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages