https://github.com/catcherwong/rest-api-sample
🍰 A simple sample that uses gin to build REST API.
https://github.com/catcherwong/rest-api-sample
gin gorm swagger
Last synced: about 2 months ago
JSON representation
🍰 A simple sample that uses gin to build REST API.
- Host: GitHub
- URL: https://github.com/catcherwong/rest-api-sample
- Owner: catcherwong
- License: mit
- Created: 2019-10-27T08:01:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-12T01:43:10.000Z (over 5 years ago)
- Last Synced: 2024-12-22T10:34:57.784Z (5 months ago)
- Topics: gin, gorm, swagger
- Language: Go
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rest-api-sample
A simple sample that use gin to build rest api.
## Installation
```
git clone https://github.com/catcherwong/rest-api-sample.git
```## How to run
```
$ cd rest-api-sample$ docker build -t rest-api-sample:v1 .
$ docker run -p 9999:9999 rest-api-sample:v1
```Swagger doc

## Features
- Gin
- Gorm
- Swagger
- Redis
- SQLite
- yaml
- prometheus