Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lauti7/go-bookstore
Bookstore API built with Go Lang, Gin-Gonic Framework And Gorm ORM
https://github.com/lauti7/go-bookstore
gin-gonic go golang gorm-orm
Last synced: 23 days ago
JSON representation
Bookstore API built with Go Lang, Gin-Gonic Framework And Gorm ORM
- Host: GitHub
- URL: https://github.com/lauti7/go-bookstore
- Owner: lauti7
- Created: 2020-06-13T23:27:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T23:38:44.000Z (over 4 years ago)
- Last Synced: 2024-11-16T15:38:37.831Z (about 2 months ago)
- Topics: gin-gonic, go, golang, gorm-orm
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go-Bookstore API
## Bookstore API built with Go Lang, Gin-Gonic Framework And Gorm ORM### To Run API
* `git clone https://github.com/lauti7/go-bookstore.git` in your $GOPATH.
* Download API Dependencies:
* `go get github.com/gin-gonic/gin`
* `go get github.com/jinzhu/gorm`
* Turn on your MySql Server
* In "go-bookstore/models/setup.go" remove my Mysql Localhost Server URL and type your URL
* Crate Database in Mysql.
* Inside project folder, run: `go run main.go`
* Open `127.0.0.1:8080/api/books`