https://github.com/yong-asial/graphql-react-tutorial
https://github.com/yong-asial/graphql-react-tutorial
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yong-asial/graphql-react-tutorial
- Owner: yong-asial
- Created: 2020-05-02T03:40:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T14:42:44.000Z (over 2 years ago)
- Last Synced: 2025-02-12T19:48:37.681Z (4 months ago)
- Language: JavaScript
- Size: 1.33 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GraphQL (React) Try-Out
## Description
A simple GraphQL Server with React (Apollo) Frontend
## Prerequisities
- NodeJS
- Docker## Run Server
```bash
cd server;
npm install;
npm run dev;
```## Add some data to start off
- Navigate to `http://localhost:4000/graphql?`
- Add a few authors
```json
mutation {
addAuthor(name: "Nick Bostrom", age: 47) {
name
age
}
}
```## Run Client
```bash
cd client;
npm install;
npm run start;
```