{
	"info": {
		"_postman_id": "88e38b8f-93c6-4d9b-85ea-87138cbc693e",
		"name": "serverworking",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "29736996"
	},
	"item": [
		{
			"name": "createUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							"\r",
							"var jsonData = JSON.parse(responseBody);\r",
							"var user_id = jsonData._id;\r",
							"pm.globals.set(\"user_id\", jsonData._id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"username\":\"indomet\",\r\n    \"email\":\"asim@gmail.com\",\r\n    \"name\":\"asim\",\r\n    \"password\":\"1234\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://127.0.0.1:3000/v1/users/signup",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"signup"
					]
				}
			},
			"response": []
		},
		{
			"name": "getUser(signin)",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"email\": \"asim@gmail.com\",\r\n    \"password\": \"1234\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users"
					]
				}
			},
			"response": []
		},
		{
			"name": "editUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PATCH",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"username\":\"changeusername2x\",\r\n    \"email\":\"asim@gmail.com\"\r\n\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://127.0.0.1:3000/v1/users/{{user_id}}",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "createRecipe",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							"\r",
							"// var jsonData =pm.response.json();\r",
							"// console.log(jsonData); \r",
							"// pm.globals.set(\"recipe_id\", jsonData._id);\r",
							"var jsonData = JSON.parse(responseBody);\r",
							"var recipe_id = jsonData.Recipe._id;\r",
							"pm.globals.set(\"recipe_id\", recipe_id);\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": " {\r\n        \"title\": \"Chimichurri Wings\",\r\n        \"image\": \"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/465250.jpg?resize=300:*&output-format=jpg&output-quality=auto\",\r\n        \"sectionsAndIngredients\": {\r\n            \"Ingredients\": [\r\n                \"1 large shallot, minced\",\r\n                \"5 cloves garlic, minced\",\r\n                \"1 large jalapeño, minced\",\r\n                \"½ cup red wine vinegar\",\r\n                \"2 teaspoons kosher salt\",\r\n                \"1 teaspoon freshly ground black pepper\",\r\n                \"1 teaspoon red pepper flakes\",\r\n                \"¼ cup finely chopped fresh parsley\",\r\n                \"¼ cup finely chopped fresh cilantro\",\r\n                \"½ cup extra-virgin olive oil\",\r\n                \"1 lb chicken wings\"\r\n            ]\r\n        },\r\n        \"servings\": \"for 4 servings\",\r\n        \"description\": \"Try these herby, garlicky wings for game day or any day!\",\r\n        \"steps\": [\r\n            \"In a large bowl, combine the shallot, garlic, jalapeño, and red wine vinegar. Let sit for about 10 minutes.\",\r\n            \"Season the mixture with the salt, black pepper, and red pepper flakes. Add the parsley and cilantro and mix to incorporate.\",\r\n            \"While whisking, slowly and evenly stream in the olive oil. The chimichurri should be thick and slightly chunky.\",\r\n            \"Add the chicken wings to a baking dish or large bowl. Pour about two-thirds of the chimichurri sauce evenly over the wings (reserve the rest for serving). Cover and marinate in the refrigerator for at least 2 hours, or overnight.\",\r\n            \"Preheat oven to 400°F (200°C) and line a large baking sheet with parchment paper.\",\r\n            \"Arrange the marinated wings on the prepared baking sheet, spacing about 1 inch apart. Bake for 45 minutes, or until deep golden brown and the internal temperature reaches 165°F (75°C).\",\r\n            \"Serve the wings immediately with the reserved chimichurri sauce for dipping.\",\r\n            \"Enjoy!\"\r\n        ],\r\n        \"tags\": [\r\n            \"Appliance\",\r\n            \"Baking\",\r\n            \"Chicken\",\r\n            \"High-Protein\",\r\n            \"Under 1 Hour\",\r\n            \"Weeknight\",\r\n            \"Party\",\r\n            \"Game Day\",\r\n            \"Dinner\",\r\n            \"Appetizers\",\r\n            \"Easy\",\r\n            \"Low-Carb\",\r\n            \"Healthy\",\r\n            \"Gluten-Free\",\r\n            \"Dairy-Free\"\r\n        ],\r\n        \"nutritionalInfo\": [\r\n            \"Calories 468\",\r\n            \"Fat 43g\",\r\n            \"Carbs 1g\",\r\n            \"Fiber 25g\",\r\n            \"Sugar 0g\",\r\n            \"Protein 17g\"\r\n        ]\r\n    }",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "createFav",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n        \"userId\": \"{{user_id}}\",\r\n        \"recipeId\": \"{{recipe_id}}\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}/favorite-recipes",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}",
						"favorite-recipes"
					]
				}
			},
			"response": []
		},
		{
			"name": "editRecipe",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PATCH",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": " {\r\n\r\n        \"title\": \"TEST REPLACE PARITAL Wings-changetitle\",\r\n        \"image\": \"https://img.TEST REPLACE PARITAL.com/thumbnailer-prod-us-east-1/video-api/assets/465250.jpg?resize=300:*&output-format=jpg&output-quality=auto\",\r\n        \"sectionsAndIngredients\": {\r\n            \"Ingredients\": [\r\n                \"change1 HAHAHAH shallot, minced\",\r\n                \"5 cloves garlic, minced\",\r\n                \"1 large TEST REPLACE PARITAL, minced\",\r\n                \"½ cup red wine vinegar\",\r\n                \"2 teaspoons kosher salt\",\r\n                \"1 teaspoon freshly ground black pepper\",\r\n                \"1 teaspoon red pepper flakes\",\r\n                \"¼ cup finely chopped fresh parsley\",\r\n                \"¼ cup finely chopped fresh cilantro\",\r\n                \"½ cup extra-virgin olive oil\",\r\n                \"1 lb AFAKN wings\"\r\n            ]\r\n        },\r\n\r\n        \"description\": \"Try TEST REPLACE PARITAL herby, garlicky wings for game day or any day!\",\r\n        \"steps\": [\r\n            \"changeIn a large bowl, combine the shallot, garlic, jalapeño, and red wine vinegar. Let sit for about TEST REPLACE PARITAL minutes.\",\r\n            \"Season the mixture with the salt, black pepper, and red pepper flakes. Add the parsley and cilantro and mix to incorporate.\",\r\n            \"While whisking, slowly and evenly stream in the olive oil. The chimichurri should be thick and slightly chunky.\",\r\n            \"Add the chicken wings to a baking dish or large bowl. Pour about two-thirds of the chimichurri sauce evenly over the wings (reserve the rest for serving). Cover and marinate in the refrigerator for at least 2 hours, or overnight.\",\r\n            \"Preheat oven to 400°F (200°C) and line a large baking sheet with parchment paper.\",\r\n            \"Arrange the marinated wings on the prepared baking sheet, spacing about 1 inch apart. Bake for 45 minutes, or until deep golden brown and the internal temperature reaches 165°F (75°C).\",\r\n            \"Serve the wings immediately with the reserved chimichurri sauce for dipping.\",\r\n            \"Enjoy!\"\r\n        ]\r\n\r\n    }",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteFav",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}/favoriteDeletion",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}",
						"favoriteDeletion"
					]
				}
			},
			"response": []
		},
		{
			"name": "replaceUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PUT",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"username\":\"recplaceuser\",\r\n    \"email\":\"asim@gmail.com\",\r\n    \"name\":\"aki\",\r\n    \"password\":\"1234\",\r\n    \"recipes\": [],\r\n    \"favouriteRecipes\": []\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "replaceRecipe",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"\r",
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PUT",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": " {\r\n\r\n        \"title\": \"Chimichurri Wings-REPLACED\",\r\n        \"image\": \"REPLACEhttps://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/465250.jpg?resize=300:*&output-format=jpg&output-quality=auto\",\r\n        \"sectionsAndIngredients\": {\r\n            \"Ingredients\": [\r\n                \"REPLACE large shallot, minced\",\r\n                \"REPLACE5 cloves garlic, minced\",\r\n                \"REPLACE1 large jalapeño, minced\",\r\n                \"REPLACE½ cup red wine vinegar\",\r\n                \"REPLACE2 teaspoons kosher salt\",\r\n                \"REPLACE1 teaspoon freshly ground black pepper\",\r\n                \"REPLACE1 teaspoon red pepper flakes\",\r\n                \"REPLACE¼ cup finely chopped fresh parsley\",\r\n                \"REPLACE¼ cup finely chopped fresh cilantro\",\r\n                \"REPLACE½ cup extra-virgin olive oil\",\r\n                \"REPLACE1 lb chicken wings\"\r\n            ]\r\n        },\r\n        \"servings\": \"REPLACEfor 4 servings\",\r\n        \"description\": \"REPLACETry these herby, garlicky wings for game day or any day!\",\r\n        \"steps\": [\r\n            \"REPLACEIn a large bowl, combine the shallot, garlic, jalapeño, and red wine vinegar. Let sit for about 10 minutes.\",\r\n            \"REPLACESeason the mixture with the salt, black pepper, and red pepper flakes. Add the parsley and cilantro and mix to incorporate.\",\r\n            \"REPLACEWhile whisking, slowly and evenly stream in the olive oil. The chimichurri should be thick and slightly chunky.\",\r\n            \"REPLACEAdd the chicken wings to a baking dish or large bowl. Pour about two-thirds of the chimichurri sauce evenly over the wings (reserve the rest for serving). Cover and marinate in the refrigerator for at least 2 hours, or overnight.\",\r\n            \"REPLACEPreheat oven to 400°F (200°C) and line a large baking sheet with parchment paper.\",\r\n            \"REPLACEArrange the marinated wings on the prepared baking sheet, spacing about 1 inch apart. Bake for 45 minutes, or until deep golden brown and the internal temperature reaches 165°F (75°C).\",\r\n            \"REPLACEServe the wings immediately with the reserved chimichurri sauce for dipping.\",\r\n            \"REPLACEEnjoy!\"\r\n        ],\r\n        \"tags\": [\r\n            \"REPLACEAppliance\",\r\n            \"REPLACEBaking\",\r\n            \"REPLACEChicken\",\r\n            \"REPLACEHigh-Protein\",\r\n            \"REPLACEUnder 1 Hour\",\r\n            \"REPLACEWeeknight\",\r\n            \"REPLACEParty\",\r\n            \"REPLACEGame Day\",\r\n            \"REPLACEDinner\",\r\n            \"REPLACEAppetizers\",\r\n            \"REPLACEEasy\",\r\n            \"REPLACELow-Carb\",\r\n            \"Healthy\",\r\n            \"Gluten-Free\",\r\n            \"Dairy-Free\"\r\n        ],\r\n        \"nutritionalInfo\": [\r\n            \"REPLACECalories 468\",\r\n            \"REPLACEFat 43g\",\r\n            \"REPLACECarbs 1g\",\r\n            \"REPLACEFiber 25g\",\r\n            \"Sugar 0g\",\r\n            \"Protein 17g\"\r\n        ],\r\n        \"userId\": \"{{user_id}}\"\r\n    }",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/recipes/{{recipe_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"recipes",
						"{{recipe_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getAllUsers",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:3000/v1/users",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users"
					]
				}
			},
			"response": []
		},
		{
			"name": "getAUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getARecipe",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/recipes/{{recipe_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"recipes",
						"{{recipe_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getRecipeFromUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getAllRecipes",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:3000/v1/recipes/",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"recipes",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "getAllRecipesFromAUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes"
					]
				}
			},
			"response": []
		},
		{
			"name": "createComment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							"\r",
							"var jsonData = JSON.parse(responseBody);\r",
							"var comment_id = jsonData._id;\r",
							"pm.globals.set(\"comment_id\", jsonData._id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"userId\": \"{{user_id}}\",\r\n    \"recipeId\":\"{{recipe_id}}\",\r\n    \"comment\":\"testskjheaffnewjslkbn\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}/comments",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}",
						"comments"
					]
				}
			},
			"response": []
		},
		{
			"name": "editComment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PUT",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"comment\":\"edit test2x\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/comments/{{comment_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"comments",
						"{{comment_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getAllTags",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteAComment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}/comments/{{comment_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}",
						"comments",
						"{{comment_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteRecipeFromAUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/recipes/{{recipe_id}}/users/{{user_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"recipes",
						"{{recipe_id}}",
						"users",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "createRecipe Copy",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							"\r",
							"// var jsonData =pm.response.json();\r",
							"// console.log(jsonData); \r",
							"// pm.globals.set(\"recipe_id\", jsonData._id);\r",
							"var jsonData = JSON.parse(responseBody);\r",
							"var recipe_id = jsonData.Recipe._id;\r",
							"pm.globals.set(\"recipe_id\", recipe_id);\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": " {\r\n        \"title\": \"Chimichurri Wings\",\r\n        \"image\": \"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/465250.jpg?resize=300:*&output-format=jpg&output-quality=auto\",\r\n        \"sectionsAndIngredients\": {\r\n            \"Ingredients\": [\r\n                \"1 large shallot, minced\",\r\n                \"5 cloves garlic, minced\",\r\n                \"1 large jalapeño, minced\",\r\n                \"½ cup red wine vinegar\",\r\n                \"2 teaspoons kosher salt\",\r\n                \"1 teaspoon freshly ground black pepper\",\r\n                \"1 teaspoon red pepper flakes\",\r\n                \"¼ cup finely chopped fresh parsley\",\r\n                \"¼ cup finely chopped fresh cilantro\",\r\n                \"½ cup extra-virgin olive oil\",\r\n                \"1 lb chicken wings\"\r\n            ]\r\n        },\r\n        \"servings\": \"for 4 servings\",\r\n        \"description\": \"Try these herby, garlicky wings for game day or any day!\",\r\n        \"steps\": [\r\n            \"In a large bowl, combine the shallot, garlic, jalapeño, and red wine vinegar. Let sit for about 10 minutes.\",\r\n            \"Season the mixture with the salt, black pepper, and red pepper flakes. Add the parsley and cilantro and mix to incorporate.\",\r\n            \"While whisking, slowly and evenly stream in the olive oil. The chimichurri should be thick and slightly chunky.\",\r\n            \"Add the chicken wings to a baking dish or large bowl. Pour about two-thirds of the chimichurri sauce evenly over the wings (reserve the rest for serving). Cover and marinate in the refrigerator for at least 2 hours, or overnight.\",\r\n            \"Preheat oven to 400°F (200°C) and line a large baking sheet with parchment paper.\",\r\n            \"Arrange the marinated wings on the prepared baking sheet, spacing about 1 inch apart. Bake for 45 minutes, or until deep golden brown and the internal temperature reaches 165°F (75°C).\",\r\n            \"Serve the wings immediately with the reserved chimichurri sauce for dipping.\",\r\n            \"Enjoy!\"\r\n        ],\r\n        \"tags\": [\r\n            \"Appliance\",\r\n            \"Baking\",\r\n            \"Chicken\",\r\n            \"High-Protein\",\r\n            \"Under 1 Hour\",\r\n            \"Weeknight\",\r\n            \"Party\",\r\n            \"Game Day\",\r\n            \"Dinner\",\r\n            \"Appetizers\",\r\n            \"Easy\",\r\n            \"Low-Carb\",\r\n            \"Healthy\",\r\n            \"Gluten-Free\",\r\n            \"Dairy-Free\"\r\n        ],\r\n        \"nutritionalInfo\": [\r\n            \"Calories 468\",\r\n            \"Fat 43g\",\r\n            \"Carbs 1g\",\r\n            \"Fiber 25g\",\r\n            \"Sugar 0g\",\r\n            \"Protein 17g\"\r\n        ]\r\n    }",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteRecipeFromAUser Copy",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/{{recipe_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						"{{recipe_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "createRecipe Copy 2",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"});\r",
							"\r",
							"// var jsonData =pm.response.json();\r",
							"// console.log(jsonData); \r",
							"// pm.globals.set(\"recipe_id\", jsonData._id);\r",
							"var jsonData = JSON.parse(responseBody);\r",
							"var recipe_id = jsonData.Recipe._id;\r",
							"pm.globals.set(\"recipe_id\", recipe_id);\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": " {\r\n        \"title\": \"Chimichurri Wings\",\r\n        \"image\": \"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/465250.jpg?resize=300:*&output-format=jpg&output-quality=auto\",\r\n        \"sectionsAndIngredients\": {\r\n            \"Ingredients\": [\r\n                \"1 large shallot, minced\",\r\n                \"5 cloves garlic, minced\",\r\n                \"1 large jalapeño, minced\",\r\n                \"½ cup red wine vinegar\",\r\n                \"2 teaspoons kosher salt\",\r\n                \"1 teaspoon freshly ground black pepper\",\r\n                \"1 teaspoon red pepper flakes\",\r\n                \"¼ cup finely chopped fresh parsley\",\r\n                \"¼ cup finely chopped fresh cilantro\",\r\n                \"½ cup extra-virgin olive oil\",\r\n                \"1 lb chicken wings\"\r\n            ]\r\n        },\r\n        \"servings\": \"for 4 servings\",\r\n        \"description\": \"Try these herby, garlicky wings for game day or any day!\",\r\n        \"steps\": [\r\n            \"In a large bowl, combine the shallot, garlic, jalapeño, and red wine vinegar. Let sit for about 10 minutes.\",\r\n            \"Season the mixture with the salt, black pepper, and red pepper flakes. Add the parsley and cilantro and mix to incorporate.\",\r\n            \"While whisking, slowly and evenly stream in the olive oil. The chimichurri should be thick and slightly chunky.\",\r\n            \"Add the chicken wings to a baking dish or large bowl. Pour about two-thirds of the chimichurri sauce evenly over the wings (reserve the rest for serving). Cover and marinate in the refrigerator for at least 2 hours, or overnight.\",\r\n            \"Preheat oven to 400°F (200°C) and line a large baking sheet with parchment paper.\",\r\n            \"Arrange the marinated wings on the prepared baking sheet, spacing about 1 inch apart. Bake for 45 minutes, or until deep golden brown and the internal temperature reaches 165°F (75°C).\",\r\n            \"Serve the wings immediately with the reserved chimichurri sauce for dipping.\",\r\n            \"Enjoy!\"\r\n        ],\r\n        \"tags\": [\r\n            \"Appliance\",\r\n            \"Baking\",\r\n            \"Chicken\",\r\n            \"High-Protein\",\r\n            \"Under 1 Hour\",\r\n            \"Weeknight\",\r\n            \"Party\",\r\n            \"Game Day\",\r\n            \"Dinner\",\r\n            \"Appetizers\",\r\n            \"Easy\",\r\n            \"Low-Carb\",\r\n            \"Healthy\",\r\n            \"Gluten-Free\",\r\n            \"Dairy-Free\"\r\n        ],\r\n        \"nutritionalInfo\": [\r\n            \"Calories 468\",\r\n            \"Fat 43g\",\r\n            \"Carbs 1g\",\r\n            \"Fiber 25g\",\r\n            \"Sugar 0g\",\r\n            \"Protein 17g\"\r\n        ]\r\n    }",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}/recipes/",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}",
						"recipes",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "createNewTag",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {\r",
							"    pm.response.to.have.status(201);\r",
							"    var jsonData = JSON.parse(responseBody);\r",
							"var tag_id = jsonData.tag._id;\r",
							"pm.globals.set(\"tag_id\", tag_id);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"tag\":\"NEW lL\",\r\n    \"userId\": \"{{user_id}}\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags"
					]
				}
			},
			"response": []
		},
		{
			"name": "EditTagByID",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "PATCH",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"tag\":\"EDITED TAG\",\r\n    \"userId\": \"{{user_id}}\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags/{{tag_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags",
						"{{tag_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "getAllTags",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags"
					]
				}
			},
			"response": []
		},
		{
			"name": "getOneTag",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags/{{tag_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags",
						"{{tag_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteAllRecipeFromUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/recipes/{{user_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"recipes",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteAUser",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users/{{user_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users",
						"{{user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteAllUsers",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/users",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"users"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteOneTag",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags/{{tag_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags",
						"{{tag_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "deleteAllTags",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "DELETE",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags"
					]
				}
			},
			"response": []
		},
		{
			"name": "methodOverriding",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {\r",
							"    pm.response.to.have.status(200);\r",
							"});\r",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:3000/v1/tags?_method=DELETE",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "3000",
					"path": [
						"v1",
						"tags"
					],
					"query": [
						{
							"key": "_method",
							"value": "DELETE"
						}
					]
				}
			},
			"response": []
		}
	],
	"variable": [
		{
			"key": "host",
			"value": "http://localhost:3000"
		}
	]
}