https://github.com/chunghha/nest-gql
A NestJS GraphQL sample
https://github.com/chunghha/nest-gql
docker graphql nestjs pm2
Last synced: 21 days ago
JSON representation
A NestJS GraphQL sample
- Host: GitHub
- URL: https://github.com/chunghha/nest-gql
- Owner: chunghha
- Created: 2018-11-11T05:37:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:02:22.000Z (over 2 years ago)
- Last Synced: 2025-03-06T17:29:16.151Z (4 months ago)
- Topics: docker, graphql, nestjs, pm2
- Language: TypeScript
- Homepage:
- Size: 1.3 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
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/