Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).