Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tr1sm0s1n/gin-postgres-api
Gin API for CRUD operations in PostgreSQL.
https://github.com/tr1sm0s1n/gin-postgres-api
api crud docker docker-compose gin gin-gonic go golang gorm postgres postgresql sql
Last synced: 13 days ago
JSON representation
Gin API for CRUD operations in PostgreSQL.
- Host: GitHub
- URL: https://github.com/tr1sm0s1n/gin-postgres-api
- Owner: tr1sm0s1n
- License: mit
- Created: 2023-08-11T07:06:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T15:08:48.000Z (9 months ago)
- Last Synced: 2024-03-18T16:41:44.464Z (9 months ago)
- Topics: api, crud, docker, docker-compose, gin, gin-gonic, go, golang, gorm, postgres, postgresql, sql
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 2
- 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-Postgres-API
Gin API for CRUD operations in PostgreSQL.
## 🛠 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/)
[![PostgreSQL Badge](https://img.shields.io/badge/PostgreSQL-4169E1?logo=postgresql&logoColor=fff&style=for-the-badge)](https://www.postgresql.org/)
[![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-postgres-api.git
cd gin-postgres-api
```Start the database
```bash
make up
```View the database (optional)
```bash
make enter
```Run the application
```bash
make run
```For live reload, install air (optional)
```bash
make air
```Run the application in watch mode
```bash
make dev
```## 📜 License
Click [here](./LICENSE.md).
## 🎗️ Contributing
Click [here](./CONTRIBUTING.md).
## ⚖️ Code of Conduct
Click [here](./CODE_OF_CONDUCT.md).