An open API service indexing awesome lists of open source software.

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

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
```