https://github.com/ricoledan/go-rest-api
🦍RESTful API application with Go
https://github.com/ricoledan/go-rest-api
docker go golang rest rest-api
Last synced: 28 days ago
JSON representation
🦍RESTful API application with Go
- Host: GitHub
- URL: https://github.com/ricoledan/go-rest-api
- Owner: Ricoledan
- Created: 2021-06-28T05:58:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-04T07:08:14.000Z (almost 5 years ago)
- Last Synced: 2025-02-27T19:58:07.699Z (over 1 year ago)
- Topics: docker, go, golang, rest, rest-api
- Language: Go
- Homepage:
- Size: 3.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-rest-api
## commands
run application
`go run main.go`
build executable (windows)
`go build -o go-rest-api.exe main.go`
### docker
build docker image
`docker build --tag go-rest-api .`
run docker container
`docker run -d -p 9000:9000 go-rest-api`