Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tr1sm0s1n/gin-crud-api
Simple API demonstrating CRUD operations in Go with Gin.
https://github.com/tr1sm0s1n/gin-crud-api
api gin gin-gonic go golang openapi
Last synced: 13 days ago
JSON representation
Simple API demonstrating CRUD operations in Go with Gin.
- Host: GitHub
- URL: https://github.com/tr1sm0s1n/gin-crud-api
- Owner: tr1sm0s1n
- License: mit
- Created: 2023-03-17T10:55:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T12:24:01.000Z (about 2 months ago)
- Last Synced: 2024-11-16T15:38:17.780Z (about 1 month ago)
- Topics: api, gin, gin-gonic, go, golang, openapi
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Gin-CRUD-API
Simple API demonstrating CRUD operations in Go with Gin.
## 🛠 Built With
[![Go Badge](https://img.shields.io/badge/Go-00ADD8?logo=go&logoColor=fff&style=for-the-badge)](https://go.dev/)
[![Gin Badge](https://img.shields.io/badge/Gin-008ECF?logo=gin&logoColor=fff&style=for-the-badge)](https://gin-gonic.com/)## ⚙️ Run Locally
Clone the project
```bash
git clone https://github.com/tr1sm0s1n/gin-crud-api.git
cd gin-crud-api
```Test the application
```bash
go test
```Start the application
```bash
go run .
```Or create an executable
```bash
go build -o build/
```Run the executable
```bash
./build/gin-crud-api
```For live reload, install Air
```bash
go install github.com/air-verse/air@latest
```Run the application with Air
```bash
air
```## 📜 License
Click [here](./LICENSE.md).
## 🎗️ Contributing
Click [here](./CONTRIBUTING.md).
## ⚖️ Code of Conduct
Click [here](./CODE_OF_CONDUCT.md).