LAB: Express Build a recipe storage application. It should let you create new recipes, get a recipe by id, get all recipes, update a recipe by id, and delete a recipe by id.

Before you begin Refer to Getting Started in the lab submission instructions for complete setup, configuration, deployment, and submission instructions.

Getting Started In the starter-code, there the basic scaffolding for a recipe storage application. Take a look at the included files.

Requirements Missing Tests (3 points) There are some missing tests. Determine any gaps in test coverage and fill in the gaps (focus on missing route tests).

Add ingredients (3 points) Our model is incomplete. In order to provide a better user experience our recipes should include the ingredients needed for a recipes. Add an ingredients field, which is an array of subdocuments with amount, measurement ('teaspoon', 'tablespoon', 'cup', 'ounce', 'grams'), and name.

Refactor to use Router (3 points) To help promote cleaner code, refactor your routes into a lib/routes/recipes file. Use and export an express.Router.

Add a second model (1 point) Add an Event model which tracks when you used a recipe. An Event has: recipeId, dateOfEvent, notes, and rating. Create all CRUD routes for your Event model