This project shows how to set up a CDK pipeline for a Vapor project.
The Shop Backend code is from the book Hands-On Swift 5 Microservices Development
by Ralph Kuepper, with some small changes. This example uses MongoDB instead of
MySQL, and the JWT is slightly different.
I have implemented the REST API for UserService, but haven't done anything yet for OrderService and ProductService. That will come in a later commit.
The cdk.json file tells the CDK Toolkit how to execute your app.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template