Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grandemayta/nest-graphql
Create a GraphQL API over an existing Rest API. I deployed this project on Heroku. I used the following Github's APIS:
https://github.com/grandemayta/nest-graphql
graphql nestjs nodejs typescript
Last synced: 25 days ago
JSON representation
Create a GraphQL API over an existing Rest API. I deployed this project on Heroku. I used the following Github's APIS:
- Host: GitHub
- URL: https://github.com/grandemayta/nest-graphql
- Owner: grandemayta
- Created: 2019-06-13T12:53:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:42:34.000Z (about 2 years ago)
- Last Synced: 2024-10-27T18:45:46.655Z (3 months ago)
- Topics: graphql, nestjs, nodejs, typescript
- Language: TypeScript
- Homepage: https://nestjs-graphql.herokuapp.com/graphql
- Size: 1.91 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nest GraphQL
[![NPM version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=0.0.1)](http://badge.fury.io/js/badge-list)
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
[![made-with-javascript-doc](https://img.shields.io/badge/Made%20with-Javascript-1f425f.svg)](https://www.sphinx-doc.org/)Create a GraphQL API over an existing Rest Api. I deployed this project on Heroku. You can use the IDE on this [link](https://nestjs-graphql.herokuapp.com/graphql). I used the following Github's APIS:
- Get users => https://api.github.com/users
```graphql
{
users {
login,
avatar_url
}
}
```
- Get user by ID => https://api.github.com/users/{id}
```graphql
{
user(login: "grandemayta") {
name,
company,
location
}
}
```
- Get User repositories => https://api.github.com/users/{id}/repos
```graphql
{
repositories(login: "grandemayta") {
name,
language
}
}
```## Installation
```bash
$ npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```## Created with Nest
This application was created with [Nest](https://github.com/nestjs/nest).
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).Keep calm and code!
[![Open Source Love](https://badges.frapsoft.com/os/v3/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)