Putting It All Together
Let's put together all the individual parts of the DARRT framework and run some simple queries.
We'll cover the following...
Starting a local instance of the Onboarding API
Now that we’ve reviewed all the individual parts of the DARRT framework (data, actions, resources, representations, and transitions) and seen how it’s put together, we can run some simple queries against our instance of the Onboarding API to see how it behaves. To do that, we need to start up our local instance of the Onboarding API and then use cURL to execute some simple tests.
Running queries against the Onboarding API
First, to start the local instance of the Onboarding API, run the following command in the terminal below:
npm run dev
This command will fire up the ...