-
Notifications
You must be signed in to change notification settings - Fork 2
/
notes.txt
33 lines (26 loc) · 1.26 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
npm init
sudo npm install nodemon
sudo npm install express
sudo npm install graphql
sudo npm install lodash
sudo npm install graphql-http
==============================================================
create list of endpoints used on the boards with the monday sandbox
one text file for each boards
or just a list on a monday board and the status indicates it's in the code and which files it is connected to
DO NOT FORGET there is a monday VSC Extension that could make it easier
connect to monday
it lists out boards and columns
it lists out id and just about anything else as an autocomplete!
==============================================================
sudo npm install @babel/cli @babel/core @babel/preset-env body-parser concurrently cors express graphql-http graphql merge-graphql-schemas mongoose nodemon
sudo npm i graphql-tools
sudo npm i graphql-schema-merger
graphql-http
==============================
if someone gets an error while like "TypeError: graphqlHTTP is not a function"
u can basically do 2 things
1)const { graphqlHTTP } = require('express-graphql');
2)const graphqlHTTP = require('express-graphql').graphqlHTTP;
https://medium.freecodecamp.org/how-to-set-up-a-graphql-server-using-node-js-express-mongodb-52421b73f474
https://medium.com/@williamyang93