https://github.com/guilchaves/simple-crud-go
A simple crud API written in go lang and gin framework.
https://github.com/guilchaves/simple-crud-go
gin-framework golang rest-api
Last synced: 12 months ago
JSON representation
A simple crud API written in go lang and gin framework.
- Host: GitHub
- URL: https://github.com/guilchaves/simple-crud-go
- Owner: guilchaves
- License: mit
- Created: 2025-02-03T22:57:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-03T23:04:53.000Z (over 1 year ago)
- Last Synced: 2025-05-31T09:47:53.621Z (about 1 year ago)
- Topics: gin-framework, golang, rest-api
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Simple GO REST API - GIN
A simple CRUD application written in Golang and Gin framework using clean architecture.
#### How to run
```docker
docker build -t go-api-gin .
```
```bash
docker compose up -d
```
The application will serve on ```127.0.0.1:8080```
#### Endpoints:
_GetProducts_
```bash
GET /products
```
_GetById_
```bash
GET /product/:id
```
_CreateProduct_
```bash
POST /product
```
#### TODO
- Add slog
- Add swagger
- Add delete and update