You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
401 B
24 lines
401 B
6 years ago
|
## Getting started
|
||
|
|
||
|
This requires working GraphQL server to test with.
|
||
|
|
||
|
* Query:
|
||
|
- getAllBooks: [Book]
|
||
|
- getBookById: Book
|
||
|
|
||
|
* Type
|
||
|
- Book
|
||
|
- _id: String!
|
||
|
- title: String!
|
||
|
- author: String!
|
||
|
- price: Int!
|
||
|
|
||
|
|
||
|
then
|
||
|
```bash
|
||
|
> git clone https://src.cogto.com/sipp11/apollo-state-local-cache-example.git
|
||
|
> cd apollo-state-local-cache-example
|
||
|
> npm i
|
||
|
> npm start
|
||
|
```
|