https://github.com/cbebe/restapi
https://github.com/cbebe/restapi
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbebe/restapi
- Owner: cbebe
- Created: 2021-08-20T05:13:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T05:17:28.000Z (almost 5 years ago)
- Last Synced: 2025-01-24T10:08:20.826Z (over 1 year ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API
Simple REST API in Go with Mux and GORM
## Routes
GET /users - Get all users
GET /users/{id} - Get user by ID
POST /users - Create user
PUT /users/{id} - Update user
DELETE /users/{id} - Delete user