https://github.com/dpbm/apollo-test
Testing apollo and graphql
https://github.com/dpbm/apollo-test
apollo graphql js node nodejs pnpm ts typescript
Last synced: 9 days ago
JSON representation
Testing apollo and graphql
- Host: GitHub
- URL: https://github.com/dpbm/apollo-test
- Owner: Dpbm
- Created: 2023-04-07T14:47:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T19:09:51.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T18:51:56.161Z (12 months ago)
- Topics: apollo, graphql, js, node, nodejs, pnpm, ts, typescript
- Language: TypeScript
- Homepage: https://dpbm.github.io/apollo-test/
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Apollo + GraphQL
Testing these technologies with nodejs.
## how to use
```bash
pnpm compile && pnpm start
```
after running the project, connect to `http://localhost:4000` and run the queries
## Data
```GraphQL
Book{
title: String
author: Author
}
Author{
name: String
books: [Book]
}
```
## Queries
```GraphQL
books: [Book]
authors: [Author]
```
## Mutations
```GraphQL
addBook(title: String, author:String): Book;
removeBook(title:String): Book;
```