Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dekaulitz/demogo
Golang with gin framework starterpack
https://github.com/dekaulitz/demogo
gin-gonic golang starter template-project
Last synced: about 1 month ago
JSON representation
Golang with gin framework starterpack
- Host: GitHub
- URL: https://github.com/dekaulitz/demogo
- Owner: dekaulitz
- License: mit
- Created: 2019-05-26T06:31:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T04:11:53.000Z (over 5 years ago)
- Last Synced: 2024-04-04T02:36:31.035Z (7 months ago)
- Topics: gin-gonic, golang, starter, template-project
- Language: Go
- Homepage:
- Size: 10.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Technology Stack
Following is technology stack that is used in this microservice
| Name | Description |
|------|-------------|
| [Golang](https://golang.org/) | Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. |
| [Glide](https://glide.sh/) | Package Management for Go. |
| [Mysql Connection](http://xorm.io/) | Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle |
| [Mysql Driver](https://github.com/go-sql-driver/mysql) | Mysql driver for database connection|### Backend Setup
First, clone this repo on golang src directory (`$GOPATH/src`) by using this command:```
cd $GOPATH/src && git clone https://github.com/dekaulitz/demoGo
```and then, **edit** `.env` file to be the expected configuration to `.env.test`.
if you using the different path you can edit the configuration path on file config.gouse Glide to install this repo dependencies:
```bash
glide install
```
and then build the project```bash
go build
```Finally, we can start the server by running:
```bash
go run main.go
```