Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 498 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 498 Bytes

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)