Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tr1sm0s1n/gin-redis-api
Gin API for CRUD operations in Redis.
https://github.com/tr1sm0s1n/gin-redis-api
api crud docker docker-compose gin gin-gonic go golang openapi redis rest-api
Last synced: about 2 hours ago
JSON representation
Gin API for CRUD operations in Redis.
- Host: GitHub
- URL: https://github.com/tr1sm0s1n/gin-redis-api
- Owner: tr1sm0s1n
- License: mit
- Created: 2023-09-21T08:39:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T12:12:49.000Z (8 months ago)
- Last Synced: 2024-06-21T19:08:44.091Z (5 months ago)
- Topics: api, crud, docker, docker-compose, gin, gin-gonic, go, golang, openapi, redis, rest-api
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- 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-Redis-API
Gin API for CRUD operations in Redis.
## 🛠 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/)
[![Redis Badge](https://img.shields.io/badge/Redis-DC382D?logo=redis&logoColor=fff&style=for-the-badge)](https://redis.io/)
[![Docker Badge](https://img.shields.io/badge/Docker-2496ED?logo=docker&logoColor=fff&style=for-the-badge)](https://www.docker.com/)## ⚙️ Run Locally
Clone the project
```bash
git clone https://github.com/tr1sm0s1n/gin-redis-api.git
cd gin-redis-api
```Start the database
```bash
make up
```Open [browser](http://localhost:8001) to view the database (see ./config for the credentials)
Start the application
```bash
make run
```For live reload, install Air (optional)
```bash
make air
```Run the application with Air
```bash
make dev
```## 📜 License
Click [here](./LICENSE.md).
## 🎗️ Contributing
Click [here](./CONTRIBUTING.md).
## ⚖️ Code of Conduct
Click [here](./CODE_OF_CONDUCT.md).