experiment setting up own graphQL server with Node/ Express - mutate using axios
To install:
- Make sure you have NodeJs installed on your computer.
- Download as zip or clone this git repository to your device.
- Once the file is downloaded, open with your code editor, and using the terminal run the following command:
npm install
Finally to run the app open 2 terminals to the root directory and run the following commands:
Terminal 1 Command (Mock API using JSON Server): npm run json
(this will run on "http://localhost:3000")
Terminal 2 Command (GraphiQL IDE): npm run dev
(this will run on "http://localhost:4000")