Skip to content

1. Setup

Chabardes edited this page May 2, 2022 · 14 revisions

First step: setup the dojo !

1. Clone the repo

git clone git@github.com:pchab/nest-ddh-dojo.git

2. Install

npm install

3. Run

npm run start:dev

That's it, the server is running. Take a look at the package.json file to see the available scripts: lint, tests ...

Additional tips:

Debugger

image

With the command palette (⌘⇧P), you can switch the auto-attach feature to the smart mode. Then, if you start the server in a VSCode terminal, you will be able to add breakpoints to your code. This is most useful if you need to understand what's going on when the code is running. image

Insomnia

You can test your GraphQL requests with Insomnia. image

Clone this wiki locally