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

https://github.com/tutods/dowhile-graphql

Rocketseat Experts Club video building an simple API with GraphQL, NodeJS, TypeScript, Apollo Server and TypeGraphQL
https://github.com/tutods/dowhile-graphql

api apollo-server apollographql graphql mongodb mongoose node nodejs typegraphql typescript

Last synced: 17 days ago
JSON representation

Rocketseat Experts Club video building an simple API with GraphQL, NodeJS, TypeScript, Apollo Server and TypeGraphQL

Awesome Lists containing this project

README

        

API with GraphQL, NodeJS and TypeScript



Rocketseat




NodeJS


GraphQL


TypeScript


VS Code


Stargazers

This repo are creating following the Rocketseat Experts Club video
(collection of
DoWhile
2020)
.


🗒 Changes

- Implementing the relation on get list of videos.


⭐️ Examples of Queries & Mutations

**1. Get Categories**

```
query Categories {
categories {
_id,
name
}
}
```

**2. Create Category**

```
mutation {
createCategory(categoryInput: {
name: "Name of my category",
description: "Category description"
}) {
name,
_id
}
}
```

**3. Get Videos**

```
query Videos {
videos {
name,
category {
name
}
}
}
```

**4. Create Video**

```
mutation {
createVideo(videoInput: {
name: "Name of my video",
description: "Description of my video",
category: ""
}) {
_id,
name
}
}
```





🧑🏻‍💻 About Me


Daniel Sousa @TutoDS


Daniel Sousa @TutoDS


Github Badge


Linkedin


Twitter


Facebook



YouTube


Instagram


GitLab


Rocketseat