This project contains some practical examples and tasks to help facilitate learning some core GraphQL concepts.
Install prerequisites:
# NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
nvm install
nvm use
npm install
- inside the
src/
directory there are a set of tasks (src/XX_task-name
). - In each task folder there is a
README.md
containing details about what the next steps are. - The solution for each task is the current state of the next task.
start the (hot reloading) dev server:
npm run dev
While the server is you will be able to run the integration tests in a seperate terminal session:
# EG npm run test:integration:<tasknum>
npm run test:integration:00
To move through the different tasks/checkpoints you should be able to comment/uncomment lines from the src/index.js
file.
For the purposes of progressing through the tasks