https://github.com/mrinjamul/go-gin-boilerplate
A boilerplate for a Gin project.
https://github.com/mrinjamul/go-gin-boilerplate
Last synced: about 1 year ago
JSON representation
A boilerplate for a Gin project.
- Host: GitHub
- URL: https://github.com/mrinjamul/go-gin-boilerplate
- Owner: mrinjamul
- License: mit
- Created: 2022-01-14T18:30:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T19:30:07.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T12:15:36.375Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# go-gin-boilerplate
A boilerplate for a go-gin project.
A Full-Stack Web Application built with Go and Gin.
## Installation
Clone it from GitHub,
```bash
git clone https://github.com/mrinjamul/go-gin-boilerplate.git
```
And start development,
```bash
cd go-gin-boilerplate
go mod download
go run main.go
```
Generate OpenAPI spec:
```bash
swag init --parseDependency --parseInternal
```
Initialize database,
```bash
http POST http://localhost:3000/api/v1/quote data:=@data.json
```
## Technology Stack
Technologies used:
- [Golang](https://golang.org/): [Go](https://golang.org/)
- [Gin](https://github.com/gin-gonic/gin)
- [Gorm](https://gorm.io/)
- [Sqlite](https://www.sqlite.org/): [go-sqlite3](https://github.com/mattn/go-sqlite3)
- [Swagger](https://swagger.io/): [Go Swagger](https://github.com/swaggo/gin-swagger)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) to learn how to contribute to this project.
Also see [CODE OF CONDUCT](CODE_OF_CONDUCT.md).
## License
open-sourced under MIT license [MIT](LICENSE)