Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nabidam/gin-starter
Gin starter project, with mysql, gorm, viper, nginx, and docker
https://github.com/nabidam/gin-starter
docker gin golang gorm nginx swagger viper
Last synced: about 14 hours ago
JSON representation
Gin starter project, with mysql, gorm, viper, nginx, and docker
- Host: GitHub
- URL: https://github.com/nabidam/gin-starter
- Owner: nabidam
- Created: 2023-11-29T19:09:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T10:55:40.000Z (about 1 year ago)
- Last Synced: 2024-11-25T10:02:12.543Z (about 1 month ago)
- Topics: docker, gin, golang, gorm, nginx, swagger, viper
- Language: Go
- Homepage:
- Size: 13 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gin-starter
Gin starter project, with mysql, gorm, viper, nginx, and dockerYou can clone the project and run command:
```bash
sudo docker compose up -d
```
So docker pulls the images, and serves mysql, project and nginx.
You can access the project through your explorer and address [http://localhost](http://localhost).Also you can change exposed ports, volumes of the containers, and the rest configs as you need.
Environment file `.env` located in `/cmd/server/` directory, so you can change env keys there.Then start developing your idea...
Any comment or contribution would be appreciated :)