Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyu90221/graphql-gateway
https://github.com/yuanyu90221/graphql-gateway
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuanyu90221/graphql-gateway
- Owner: yuanyu90221
- Created: 2023-03-05T18:19:22.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T18:19:49.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T14:00:00.306Z (9 months ago)
- Language: TypeScript
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# graphql gateway
This repository is demo for use nestjs with apollo as graphql gateway
## initial
```shell
nest new gateway # create first project gateway for handle http resposne
cd gateway
nest g app users # create second app with name users
nest g app posts # create third app with name posts
nest g resource users users # create resource for app users with name users
nest g resource posts posts
```## install needed package
```shell
yarn add @apollo/gateway @apollo/subgraph @nestjs/apollo @nestjs/graphql apollo-server-express graphql
```