diff --git a/instruction/jwtPizza/jwtPizza.md b/instruction/jwtPizza/jwtPizza.md index 807b641f..8d563372 100644 --- a/instruction/jwtPizza/jwtPizza.md +++ b/instruction/jwtPizza/jwtPizza.md @@ -20,7 +20,7 @@ You shouldn't assume that the external development engineers have done a perfect ## Deliverables -Each of the follow deliverables will take JWT Pizza from a simple program code to an enterprise deployed, resilient, secure application that you can have confidence in. +Each of the following deliverables will take JWT Pizza from a simple program code to an enterprise deployed, resilient, secure application that you can have confidence in. | 🍕 Deliverable | Video | Description | | -------------------------------------------------------------------------------------------- | ---------------------------------- | -------------------------------------------------------------------------- | @@ -28,7 +28,7 @@ Each of the follow deliverables will take JWT Pizza from a simple program code t | [⓶ Automated deploy](../deliverable2AutomatedDeploy/deliverable2AutomatedDeploy.md) | [🎥](https://youtu.be/MID8dL4gppE) | Deploy frontend to GitHub Pages using GitHub Actions | | [⓷ Unit test](../deliverable3UnitTesting/deliverable3UnitTesting.md) | [🎥](https://youtu.be/PKiRH2ZKZeM) | Backend unit testing and analysis using Jest and GitHub Actions automation | | [⓸ UI test](../deliverable4UiTesting/deliverable4UiTesting.md) | [🎥](https://youtu.be/qvf1kaT_wr0) | User interface unit testing using Playwright and GitHub Actions automation | -| [⓹ Test driven development](../deliverable5Tdd/deliverable5Tdd.md) | | Deploy frontend to AWS CloudFront | +| [⓹ Test driven development](../deliverable5Tdd/deliverable5Tdd.md) | | Add user management features using test driven development | | [⓺ Frontend deployment](../deliverable6FrontendDeployment/deliverable6FrontendDeployment.md) | | Deploy frontend to AWS CloudFront | | [⓻ Backend deployment](../deliverable7BackendDeployment/deliverable7BackendDeployment.md) | [🎥](https://youtu.be/mhFmGVfFA8c) | Deploy backend to AWS Fargate and RDS MySQL | | [⓼ Metrics](../deliverable8Metrics/deliverable8Metrics.md) | | Provide metrics with Grafana Prometheus | diff --git a/instruction/jwtPizzaClient/jwtPizzaClient.md b/instruction/jwtPizzaClient/jwtPizzaClient.md index c78f9cfa..03692ae8 100644 --- a/instruction/jwtPizzaClient/jwtPizzaClient.md +++ b/instruction/jwtPizzaClient/jwtPizzaClient.md @@ -138,9 +138,9 @@ Following the instructions above, you should have already forked and cloned the ```masteryls {"id":"d6ea467d-336b-4f3c-bd43-bbe38bb5efc6","title":"JWT Pizza Frontend Repository","type":"url-submission","syncGrade":false,"autoGrade":false,"validateUrl":true,"gradingCriteria":"- The heading '🍕 jwt-pizza' exists","urlPrompt":"Convert the user provided URL to create a URL that is the path to the raw GitHub content for the README.md file."} -After you have cloned the JWT Pizza repository to your account, submit the URL of your pizza repository for review. +After you have forked the JWT Pizza repository to your account, submit the URL of your pizza repository for review. -_Example: https://github.com/youracountname/jwt-pizza_ +_Example: https://github.com/youraccountname/jwt-pizza_ ``` Now you can build and start the JWT Pizza frontend in your development environment and explore the code. @@ -150,7 +150,7 @@ Now you can build and start the JWT Pizza frontend in your development environme cd jwt-pizza npm install ``` -1. Start the JWT Pizza backend by following the [JWT Pizza Service](../jwtPizzaService/) instructions. +1. Start the JWT Pizza backend by following the [JWT Pizza Service](../jwtPizzaService/jwtPizzaService.md) instructions. 1. Start the JWT Pizza frontend by running `npm run dev`. You should be able to access the application in your browser at `http://localhost:5173`. ![alt text](jwtPizzaHomepage.png) diff --git a/instruction/jwtPizzaService/jwtPizzaService.md b/instruction/jwtPizzaService/jwtPizzaService.md index fee3592e..a3ebfc35 100644 --- a/instruction/jwtPizzaService/jwtPizzaService.md +++ b/instruction/jwtPizzaService/jwtPizzaService.md @@ -142,7 +142,7 @@ The JWT application contains two services, each with their own set of endpoints. ## ☑ Exercise -Following the above instruction you should have already forked and cloned the jwt-pizza-service repository to your development environment. Your copy of the JWT Pizza repo URL should look something like this: +Following the above instruction you should have already forked and cloned the jwt-pizza-service repository to your development environment. Your copy of the JWT Pizza Service repo URL should look something like this: ``` https://github.com/youraccountnamehere/jwt-pizza-service @@ -150,9 +150,9 @@ https://github.com/youraccountnamehere/jwt-pizza-service ```masteryls {"id":"58c26abd-ce8a-4f9c-b65a-55e4992f208f", "title":"JWT Pizza Service Repository", "type":"url-submission", "syncGrade":false, "autoGrade":false, "validateUrl":true, "gradingCriteria":"- The heading '🍕 jwt-pizza-service' exists", "urlPrompt":"Convert the user provided URL to create a URL that is the path to the raw GitHub content for the README.md file." } -After you have cloned the JWT Pizza Service repository to your account, submit the URL of your pizza service repository for review. +After you have forked the JWT Pizza Service repository to your account, submit the URL of your pizza service repository for review. -_Example: https://github.com/youracountname/jwt-pizza-service_ +_Example: https://github.com/youraccountname/jwt-pizza-service_ ``` Now you can build and start up the backend pizza service in your development environment and learn the code. @@ -163,7 +163,7 @@ Now you can build and start up the backend pizza service in your development env npm install ``` 1. Open the jwt-pizza-service project in VS Code. -1. Create your `src/config.json` file with proper configuration settings. +1. Create your `src/config.js` file with proper configuration settings. 1. Use the VS Code debugger to start up that service. @@ -173,7 +173,7 @@ When the service starts, it will configure your database with the correct tables ### Get familiar with the Pizza service -Once you have the backend service is running correctly in your development environment, take some time to debug and step through the code until you completely understand how it all works. The better you understand the code the easier it will be to test, deploy, and monitor the service. +Once the backend service is running correctly in your development environment, take some time to debug and step through the code until you completely understand how it all works. The better you understand the code the easier it will be to test, deploy, and monitor the service. Enable some breakpoints and step through the code that sets up the database, authenticates users, and executes endpoints. You can trigger these events using curl by executing the following commands. If these all return valid responses then you have setup your service correctly in your development environment.