https://github.com/jonoman55/go-server
GO Server with CRUD routes
https://github.com/jonoman55/go-server
gin-gonic go godotenv golang gorm pgx postgres
Last synced: about 2 months ago
JSON representation
GO Server with CRUD routes
- Host: GitHub
- URL: https://github.com/jonoman55/go-server
- Owner: jonoman55
- Created: 2022-10-18T21:12:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T21:37:00.000Z (over 3 years ago)
- Last Synced: 2025-03-15T04:42:27.218Z (about 1 year ago)
- Topics: gin-gonic, go, godotenv, golang, gorm, pgx, postgres
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GO Server
## About the project
This is a simple GO Server with HTTP CRUD routes.
### Commands
Install packages:
`go get`
Start command:
`go run main.go`
### API Routes
| Method | Endpoint | Description |
| ------ | ------ | ------ |
| GET | /posts | Get All Posts |
| POST | /posts | Create Post |
| PUT | /posts/:id | Update Post |
| GET | /posts/:id | Get Post By ID |
| DELETE | /posts/:id | Delete Post |
## License
MIT