Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chunghha/nest-gql
- Owner: chunghha
- Created: 2018-11-11T05:37:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:02:22.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T03:31:46.160Z (7 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/