https://github.com/ottogiron/goa-heroes
Example of a simple GOA API
https://github.com/ottogiron/goa-heroes
example goa golang
Last synced: 5 months ago
JSON representation
Example of a simple GOA API
- Host: GitHub
- URL: https://github.com/ottogiron/goa-heroes
- Owner: ottogiron
- License: mit
- Created: 2017-04-25T04:58:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T20:34:12.000Z (about 9 years ago)
- Last Synced: 2024-06-20T16:48:03.155Z (about 2 years ago)
- Topics: example, goa, golang
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GOA Heroes
Example of a simple GOA API. Implements an API with information about comics heroes.
## Implemented Endpoints
### Hero by ID
```
GET /heroes/:id
```
### List of available heroes
```
GET /heroes
```
### Create a new Hero
```
POST /heroes
{
name:
}
```
## Generate Goa Code
```bash
goagen bootstrap -d github.com/ottogiron/goa-heroes/design
```