Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chunghha/nest-gql

A NestJS GraphQL sample
https://github.com/chunghha/nest-gql

docker graphql nestjs pm2

Last synced: about 11 hours ago
JSON representation

A NestJS GraphQL sample

Awesome Lists containing this project

README

        

## Installation

```bash
$ yarn
```

## Running the app

```bash
# development
$ yarn start

# production mode
$ yarn start:prod

# run in Docker
$ sh run.sh
```

## Sample Query

```
{
countries {
name
topLevelDomain
alpha2Code
alpha3Code
capital
population
subregion
area
gini
flag
currencies {
name
symbol
}
borders
latlng
languages {
name
nativeName
}
translations {
de
es
fr
}
timezones
}
}
```

## REST API

https://github.com/apilayer/restcountries/