Setting up and building the stack
If you haven’t done so already, go ahead and clone the following repository: https://github.com/PacktPublishing/AWS-CDK-in-Practice.
The Code in Action video for this chapter can be viewed at: https://packt.link/GZxqU.
In this chapter, we will also be using Docker tooling. You can find the installation setup for your operating system by visiting https://docs.docker.com/get-docker/.
You will find the code for this chapter in the relevantly named
chapter-3-building-a-full-stack-app-with-cdk directory. Just like we did with the last chapter, we have separated the code into the following main directories:
infrastructurewill hold our CDK components
serverwill contain the code for our Express.js-based API
webis essentially a React-based frontend that hooks up to the API
If you dig into any of these directories, you will see that they each have their own
package.json, and various other relevant...