October 2020
Intermediate to advanced
358 pages
8h 39m
English
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 onboardingAPI to see how it behaves. To do that, we need to start up our local instance of the onboardingAPI and then use curl to execute some simple tests.
First, to start the local instance of the onboadingAPI, open a command window, move to the /building/all-together/ folder in the source code download associated with this chapter, and run the following command:
| | npm run dev |
This command will fire up the onboardingAPI service and wait for requests. Note that this command assumes you already have ...