https://github.com/dalau6/goa
API Development in Go Using Goa
https://github.com/dalau6/goa
Last synced: 3 months ago
JSON representation
API Development in Go Using Goa
- Host: GitHub
- URL: https://github.com/dalau6/goa
- Owner: dalau6
- License: mit
- Created: 2020-07-10T03:21:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T08:48:30.000Z (about 4 years ago)
- Last Synced: 2024-12-31T05:41:59.599Z (5 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goa
API Development in Go Using GoaGenerate the boilerplate code. The following command takes the design package import path as an argument. It also accepts the path to the output directory as an optional flag:
`goa gen clients/design`
generate a basic implementation of the service along with buildable server files that spin up goroutines to start a HTTP server and client files that can make requests to that server:
`goa example clients/design`
create server and client binaries:
`go build ./cmd/clients`
`go build ./cmd/clients-cli`run the server: `./clients`