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

https://github.com/ningenme/nina-api

趣味開発 contribution-api (product name: nina)
https://github.com/ningenme/nina-api

go golang grpc grpc-web ningenme-project

Last synced: about 2 months ago
JSON representation

趣味開発 contribution-api (product name: nina)

Awesome Lists containing this project

README

          

# nina-api

- how to build proto

```shell
cd proto
buf lint
npx buf generate nina
```

- how to set env-variable

```shell
`aws ssm get-parameters-by-path --path "/" --region ap-northeast-1 --output text | awk '{print "export",$5"="$7}'`
```

- curl

```shell
curl -XPOST -H 'Content-Type: application/json' -d '{}' localhost:8081/nina.v1.HealthService/Check -i
curl -XPOST -H 'Content-Type: application/json' -d '{}' https://nina-api.ningenme.net/nina.v1.HealthService/Check -i
```