Skip to content

roushanj/mysqlRestApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysqlRestApi

#Open The Terminal

  1. git clone https://github.com/roushanj/mysqlRestApi
  2. Set GOPATH to the clone folder
  3. No Need to install pkg(if you using vscode)
  4. Build the Api by command :: go build main.go

#Open different terminal

1.mysql -u "user" -p (enter password)
2.select DB;(create in main.go)
3.select Table people (automigrate)

@then in first terminal run ./main

#Open Postman and test API Port :: As Your Wish (Default:8000)

About

Crud Api Using gorm & gin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages