File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 8
8
- [ Environment Directions] ( docs/environment_directions.md )
9
9
- [ Code Contribution Guidlines] ( docs/linter_info.md )
10
10
- [ Use Chrome Debugger In VS Code] ( docs/use_chrome_debugger_in_vscode.md )
11
+ - [ Generate GraphQL Types] ( docs/codegen.md )
11
12
12
13
### References
13
14
Original file line number Diff line number Diff line change 1
1
overwrite : true
2
- schema : ' https://18wi8h43il.execute-api.us-east-1.amazonaws.com/dev-flipted/graphql'
2
+ schema :
3
+ [
4
+ {
5
+ ' https://18wi8h43il.execute-api.us-east-1.amazonaws.com/dev-flipted/graphql ' :
6
+ { headers: { Authorization: ${AUTH_TOKEN} } },
7
+ },
8
+ ]
9
+
3
10
documents :
4
11
- src/hooks/*.graphql
5
12
generates :
Original file line number Diff line number Diff line change
1
+ ### Code Generation Manual
2
+
3
+ ### Directions
4
+
5
+ 1 . Log in to the front-end app with valid credentials
6
+ 2 . Collect the JWT Auhtorization token by navigating to local storage and copying the "jwt" value
7
+ 3 . Run the following command
8
+
9
+ ```
10
+ AUTH_TOKEN=xxxxx npm run generate
11
+ ```
12
+ * replace the xxxx with the token as is, no added quotations
You can’t perform that action at this time.
0 commit comments