{"info":{"_postman_id":"e8eb17c1-7c8a-461f-b3ba-75c9a0deeb37","name":"Fitness Tracking","description":"<html><head></head><body><p>A comprehensive set of APIs designed to streamline fitness data collection and management. These APIs enable tracking workout routines, monitoring health metrics, and analyzing user progress.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29778371","collectionId":"e8eb17c1-7c8a-461f-b3ba-75c9a0deeb37","publishedId":"2sAYBbf9xD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"604CC3"},"publishDate":"2024-12-07T18:01:41.000Z"},"item":[{"name":"{{host-fitness-tracking}}","id":"31bedad7-8dc4-425a-916b-d6161d8ca06e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}","urlObject":{"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"77a7e71e-9cbf-43a6-a887-1c8de19622d9","name":"{{host-fitness-tracking}}","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Date","value":"Mon, 06 May 2024 19:49:29 GMT"},{"key":"Etag","value":"W/\"26-k2DAAFWwqsYNbGxctwjiQY85G+Y\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"Fitness Tracking API 🏃🏻‍♀️"}],"_postman_id":"31bedad7-8dc4-425a-916b-d6161d8ca06e"},{"name":"/exercise-types","id":"70340995-7176-4e36-865d-4d0efa411249","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/exercise-types","description":"<p>The <code>GET</code> request to <code>/exercise-types</code> endpoint retrieves a list of exercise types available in the fitness tracking system. The response is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>_id</code> (string): The unique identifier for the exercise type.</p>\n</li>\n<li><p><code>exercise</code> (string): The name of the exercise type.</p>\n</li>\n<li><p><code>caloriesPerMinute</code> (number): The average calories burned per minute while performing the exercise.</p>\n</li>\n<li><p><code>__v</code> (number): A version key for internal use.</p>\n</li>\n</ul>\n<p>Here is the JSON schema for the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"_id\": \"string\",\n    \"exercise\": \"string\",\n    \"caloriesPerMinute\": 0,\n    \"__v\": 0\n  }\n]\n\n</code></pre>\n","urlObject":{"path":["exercise-types"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"e2f01658-c4b8-4e7c-8980-623f25e6838e","name":"/exercise-types","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/exercise-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"2191"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 08:14:59 GMT"},{"key":"Etag","value":"W/\"88f-V/tJF0ONEmeEx+Ct9W9+bvZqOjM\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"663f2898424a0cf70e92acae\",\n        \"exercise\": \"Light Walking (2.0 mph)\",\n        \"caloriesPerMinute\": 3,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289a424a0cf70e92acb1\",\n        \"exercise\": \"Brisk Walking (3.5-4.0 mph)\",\n        \"caloriesPerMinute\": 4,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289b424a0cf70e92acb3\",\n        \"exercise\": \"Power Walking (5.0 mph+)\",\n        \"caloriesPerMinute\": 6,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289b424a0cf70e92acb5\",\n        \"exercise\": \"Jogging (5.0 mph)\",\n        \"caloriesPerMinute\": 7,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289b424a0cf70e92acb7\",\n        \"exercise\": \"Running (6.0 mph)\",\n        \"caloriesPerMinute\": 9,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289b424a0cf70e92acb9\",\n        \"exercise\": \"Sprinting (8.0 mph+)\",\n        \"caloriesPerMinute\": 12,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289c424a0cf70e92acbb\",\n        \"exercise\": \"Casual Biking (10 mph)\",\n        \"caloriesPerMinute\": 4,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289c424a0cf70e92acbd\",\n        \"exercise\": \"Moderate Cycling (12-14 mph)\",\n        \"caloriesPerMinute\": 8,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289c424a0cf70e92acbf\",\n        \"exercise\": \"Vigorous Cycling (16-20 mph+)\",\n        \"caloriesPerMinute\": 12,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289c424a0cf70e92acc1\",\n        \"exercise\": \"Leisure Swimming\",\n        \"caloriesPerMinute\": 5,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289c424a0cf70e92acc3\",\n        \"exercise\": \"Freestyle Swimming (moderate pace)\",\n        \"caloriesPerMinute\": 7,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289d424a0cf70e92acc5\",\n        \"exercise\": \"Competitive Swimming\",\n        \"caloriesPerMinute\": 10,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289d424a0cf70e92acc7\",\n        \"exercise\": \"Low-Intensity Strength Training\",\n        \"caloriesPerMinute\": 3,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289d424a0cf70e92acc9\",\n        \"exercise\": \"Medium-Intensity Strength Training/Circuit Training\",\n        \"caloriesPerMinute\": 6,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289d424a0cf70e92accb\",\n        \"exercise\": \"High-Intensity-Strength Training or CrossFit\",\n        \"caloriesPerMinute\": 8,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289e424a0cf70e92accd\",\n        \"exercise\": \"Hatha Yoga (gentle)\",\n        \"caloriesPerMinute\": 2,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289e424a0cf70e92accf\",\n        \"exercise\": \"Power Yoga/Vinyasa Flow\",\n        \"caloriesPerMinute\": 3,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289e424a0cf70e92acd1\",\n        \"exercise\": \"Hot Yoga/Bikram Yoga\",\n        \"caloriesPerMinute\": 4,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289e424a0cf70e92acd3\",\n        \"exercise\": \"Ballroom Dancing\",\n        \"caloriesPerMinute\": 3,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289e424a0cf70e92acd5\",\n        \"exercise\": \"Aerobic Dance/Zumba\",\n        \"caloriesPerMinute\": 5,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f289f424a0cf70e92acd7\",\n        \"exercise\": \"Hip-Hop/High-Intensity Dance\",\n        \"caloriesPerMinute\": 7,\n        \"__v\": 0\n    }\n]"}],"_postman_id":"70340995-7176-4e36-865d-4d0efa411249"},{"name":"Create Exercise","id":"0f6f9fa5-51fc-498b-81ab-5fdad2cad68c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"exerciseType\": \"663f289d424a0cf70e92acc9\",\n    \"durationInMinutes\" : \"15\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/exercises/","description":"<p>The endpoint <code>/api/exercises/</code> is a POST request used to add a new exercise to the fitness tracking system.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>exerciseType</code> (string): The unique identifier for the type of exercise.</p>\n</li>\n<li><p><code>durationInMinutes</code> (string): The duration of the exercise in minutes.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON object with the following properties:</p>\n<ul>\n<li><p><code>exerciseType</code> (string): The unique identifier for the type of exercise.</p>\n</li>\n<li><p><code>durationInMinutes</code> (number): The duration of the exercise in minutes.</p>\n</li>\n<li><p><code>caloriesBurned</code> (number): The number of calories burned during the exercise.</p>\n</li>\n<li><p><code>_id</code> (string): The unique identifier for the exercise entry.</p>\n</li>\n<li><p><code>__v</code> (number): Version key for the exercise entry.</p>\n</li>\n</ul>\n<h3 id=\"json-schema\">JSON Schema</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"exerciseType\": { \"type\": \"string\" },\n    \"durationInMinutes\": { \"type\": \"number\" },\n    \"caloriesBurned\": { \"type\": \"number\" },\n    \"_id\": { \"type\": \"string\" },\n    \"__v\": { \"type\": \"number\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","exercises",""],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"55eb2494-35e5-493a-bcde-cfa95e1be38f","name":"Create Exercise","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"exerciseType\": \"663f289e424a0cf70e92acd3\",\n    \"durationInMinutes\" : \"5\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/exercises/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"126"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 11:00:05 GMT"},{"key":"Etag","value":"W/\"7e-v4wv1Im5L8kfQlaJKJyI22beq+Y\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"exerciseType\": \"663f289e424a0cf70e92acd3\",\n    \"durationInMinutes\": 5,\n    \"caloriesBurned\": 15,\n    \"_id\": \"663f4fb430912907d28186b6\",\n    \"__v\": 0\n}"}],"_postman_id":"0f6f9fa5-51fc-498b-81ab-5fdad2cad68c"},{"name":"Get Exercises","id":"6e20e801-6dd3-43ac-9f38-338fab78fa59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/exercises/","description":"<p>The endpoint retrieves a list of exercises from the fitness tracking system. The response for this request can be documented as a JSON schema as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"_id\": {\n        \"type\": \"string\"\n      },\n      \"exerciseType\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"_id\": {\n            \"type\": \"string\"\n          },\n          \"exercise\": {\n            \"type\": \"string\"\n          },\n          \"caloriesPerMinute\": {\n            \"type\": \"number\"\n          },\n          \"__v\": {\n            \"type\": \"number\"\n          }\n        }\n      },\n      \"durationInMinutes\": {\n        \"type\": \"number\"\n      },\n      \"caloriesBurned\": {\n        \"type\": \"number\"\n      },\n      \"__v\": {\n        \"type\": \"number\"\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["exercises",""],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"598ebc00-ea7d-458b-9049-8a16a5fcdde1","name":"Get Exercises","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/exercises/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"196"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 11:01:33 GMT"},{"key":"Etag","value":"W/\"c4-1PUXpMBOIg5td2giQbCoCs7GOmA\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"663f4fb430912907d28186b6\",\n        \"exerciseType\": {\n            \"_id\": \"663f289e424a0cf70e92acd3\",\n            \"exercise\": \"Ballroom Dancing\",\n            \"caloriesPerMinute\": 3,\n            \"__v\": 0\n        },\n        \"durationInMinutes\": 5,\n        \"caloriesBurned\": 15,\n        \"__v\": 0\n    }\n]"}],"_postman_id":"6e20e801-6dd3-43ac-9f38-338fab78fa59"},{"name":"Delete Exercise","id":"8156cbc0-05a5-41ae-b73e-69351f115ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/exercises/663f526b0b476e0b2fa27718","description":"<p>The <code>DELETE</code> request is used to delete a specific exercise with the given exercise ID.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON object with the following properties:</p>\n<ul>\n<li><p><code>message</code> (string): A message indicating the status of the deletion.</p>\n</li>\n<li><p><code>deletedExercise</code> (object): An object containing details of the exercise that was deleted, including:</p>\n<ul>\n<li><p><code>_id</code> (string): The ID of the deleted exercise.</p>\n</li>\n<li><p><code>exerciseType</code> (string): The type of exercise that was deleted.</p>\n</li>\n<li><p><code>caloriesBurned</code> (number): The number of calories burned by the exercise.</p>\n</li>\n<li><p><code>__v</code> (number): Version number.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"\",\n    \"deletedExercise\": {\n        \"_id\": \"\",\n        \"exerciseType\": \"\",\n        \"caloriesBurned\": 0,\n        \"__v\": 0\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["exercises","663f526b0b476e0b2fa27718"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"741592de-8a78-466f-93c8-31e5df474b07","name":"Delete Exercise","originalRequest":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/exercises/663f4eee4fa84b0460803ac4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"166"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 11:01:28 GMT"},{"key":"Etag","value":"W/\"a6-8SpvSEgJiN8HoQhT/vIGk4AjElA\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Exercise deleted successfully\",\n    \"deletedExercise\": {\n        \"_id\": \"663f4eee4fa84b0460803ac4\",\n        \"exerciseType\": \"663f289e424a0cf70e92acd3\",\n        \"caloriesBurned\": 15,\n        \"__v\": 0\n    }\n}"},{"id":"5fb79427-6367-48a7-91d8-c652aec20395","name":"Delete Exercise","originalRequest":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/exercises/663f51b7ff810328fcac8e0b"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"32"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 11:11:03 GMT"},{"key":"Etag","value":"W/\"20-CoCuk5ziqRQxm14yHau6rWwULCE\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Exercise not found\"\n}"},{"id":"25941097-4d20-44a7-93fc-ce31e07a655a","name":"Delete Exercise","originalRequest":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/exercises/663f526b0b476e0b2fa27718"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 11 May 2024 11:14:56 GMT"},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8156cbc0-05a5-41ae-b73e-69351f115ddb"},{"name":"Get Foods","id":"261f2cde-966a-4def-95de-6a1bb0d725b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/api/foods/","description":"<p>The endpoint makes an HTTP GET request to retrieve a list of foods from the fitness tracking API.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>_id</code> (string): The unique identifier for the food item.</p>\n</li>\n<li><p><code>foodName</code> (string): The name of the food.</p>\n</li>\n<li><p><code>calories</code> (number): The amount of calories in the food.</p>\n</li>\n<li><p><code>protein</code> (number): The amount of protein in the food.</p>\n</li>\n<li><p><code>carbs</code> (number): The amount of carbohydrates in the food.</p>\n</li>\n<li><p><code>fat</code> (number): The amount of fat in the food.</p>\n</li>\n<li><p><code>createdAt</code> (string): The timestamp of when the food item was created.</p>\n</li>\n<li><p><code>updatedAt</code> (string): The timestamp of when the food item was last updated.</p>\n</li>\n<li><p><code>__v</code> (number): Version key for the food item.</p>\n</li>\n</ul>\n<p>This response can be documented as a JSON schema for the API documentation.</p>\n","urlObject":{"path":["api","foods",""],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"cd67c399-9325-4f02-9034-1f200a32a5a8","name":"Get Foods","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/api/foods/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"574"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 12:12:18 GMT"},{"key":"Etag","value":"W/\"23e-sRYlz4RAzv9ftTrO4JxSE3Jy8Zk\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"663f5f321570a72ab67c8e5c\",\n        \"foodName\": \"Museli\",\n        \"calories\": 151,\n        \"protein\": 3.6,\n        \"carbs\": 32,\n        \"fat\": 2.3,\n        \"createdAt\": \"2024-05-11T12:06:10.169Z\",\n        \"updatedAt\": \"2024-05-11T12:06:10.169Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f5f944772c2c78b2a5c46\",\n        \"foodName\": \"Museli\",\n        \"calories\": 151,\n        \"protein\": 3.6,\n        \"carbs\": 32,\n        \"fat\": 2.3,\n        \"createdAt\": \"2024-05-11T12:07:48.752Z\",\n        \"updatedAt\": \"2024-05-11T12:07:48.752Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f5fdf41fcf3d359e78de2\",\n        \"foodName\": \"Museli\",\n        \"calories\": 151,\n        \"protein\": 3.6,\n        \"carbs\": 32,\n        \"fat\": 2.3,\n        \"createdAt\": \"2024-05-11T12:09:03.582Z\",\n        \"updatedAt\": \"2024-05-11T12:09:03.582Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"261f2cde-966a-4def-95de-6a1bb0d725b6"},{"name":"Create Food","id":"713e2ca0-5769-41d6-988c-6545e628fbfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"foodName\" : \"Granola\",\n    \"calories\" : \"212\",\n    \"protein\" : \"5\",\n    \"carbs\" : \"44\",\n    \"fat\" : \"2.8\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/foods/","description":"<h3 id=\"add-food-entry\">Add Food Entry</h3>\n<p>This endpoint allows you to add a new food entry to the fitness tracking system.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>foodName (text, required): The name of the food.</p>\n</li>\n<li><p>calories (text, required): The amount of calories in the food.</p>\n</li>\n<li><p>protein (text, required): The amount of protein in the food.</p>\n</li>\n<li><p>carbs (text, required): The amount of carbohydrates in the food.</p>\n</li>\n<li><p>fat (text, required): The amount of fat in the food.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be represented as a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"foodName\": { \"type\": \"string\" },\n    \"calories\": { \"type\": \"number\" },\n    \"protein\": { \"type\": \"number\" },\n    \"carbs\": { \"type\": \"number\" },\n    \"fat\": { \"type\": \"number\" },\n    \"_id\": { \"type\": \"string\" },\n    \"createdAt\": { \"type\": \"string\" },\n    \"updatedAt\": { \"type\": \"string\" },\n    \"__v\": { \"type\": \"number\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","foods",""],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"90ce4824-67d1-4083-b3c5-0a09a9932937","name":"Create Food","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"foodName\" : \"Museli\",\n    \"calories\" : \"151\",\n    \"protein\" : \"3.6\",\n    \"carbs\" : \"32\",\n    \"fat\" : \"2.3\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/foods/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"190"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 12:15:25 GMT"},{"key":"Etag","value":"W/\"be-hc2wONzYb12uTwAOqmnPz2RLVAY\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"foodName\": \"Museli\",\n    \"calories\": 151,\n    \"protein\": 3.6,\n    \"carbs\": 32,\n    \"fat\": 2.3,\n    \"_id\": \"663f615dded20ab5b4590c33\",\n    \"createdAt\": \"2024-05-11T12:15:25.037Z\",\n    \"updatedAt\": \"2024-05-11T12:15:25.037Z\",\n    \"__v\": 0\n}"},{"id":"1a9898b3-7331-4bed-8f64-890ee10dbf79","name":"Create Food","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"foodName\" : \"Granola\",\n    \"calories\" : \"212\",\n    \"protein\" : \"5\",\n    \"carbs\" : \"44\",\n    \"fat\" : \"2.8\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/foods/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"189"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 19:51:41 GMT"},{"key":"Etag","value":"W/\"bd-TRPJtyLcURCVRZsSvkQq1+P2fx8\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"foodName\": \"Granola\",\n    \"calories\": 212,\n    \"protein\": 5,\n    \"carbs\": 44,\n    \"fat\": 2.8,\n    \"_id\": \"663fcc4d15d11da640d3a22e\",\n    \"createdAt\": \"2024-05-11T19:51:41.224Z\",\n    \"updatedAt\": \"2024-05-11T19:51:41.224Z\",\n    \"__v\": 0\n}"}],"_postman_id":"713e2ca0-5769-41d6-988c-6545e628fbfd"},{"name":"Delete food","id":"fa05509f-54ce-406e-b82f-0eb30c58e3d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/api/foods/663f615dded20ab5b4590c33","description":"<p>This endpoint sends an HTTP DELETE request to remove a specific food item identified by its unique ID. Upon successful deletion, the response will include a JSON schema detailing the structure of the response data.</p>\n","urlObject":{"path":["api","foods","663f615dded20ab5b4590c33"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"9a321b70-25eb-407f-a9c0-59bec640073d","name":"Delete food","originalRequest":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/api/foods/663f615dded20ab5b4590c33"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 11 May 2024 12:16:37 GMT"},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"fa05509f-54ce-406e-b82f-0eb30c58e3d2"},{"name":"Create Goal","id":"829948b2-f066-4edd-8e4f-be9d23a70a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goalName\" : \"Reduce fat\",\n    \"goalDescription\" : \"\",\n    \"targetDate\" : \"2024-07-12\",\n    \"targetCalories\" : \"1000\",\n    \"status\" : \"In Progress\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/goals","description":"<h3 id=\"create-fitness-goal\">Create Fitness Goal</h3>\n<p>This endpoint allows the user to create a new fitness goal.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>goalName (string, required): The name of the fitness goal.</p>\n</li>\n<li><p>goalDescription (string): Description of the fitness goal.</p>\n</li>\n<li><p>targetDate (string, required): The target date for achieving the goal in the format \"YYYY-MM-DD\".</p>\n</li>\n<li><p>targetCalories (string, required): The target number of calories for the goal.</p>\n</li>\n<li><p>status (string, required): The status of the goal (e.g., \"In Progress\", \"Completed\").</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"goalName\": { \"type\": \"string\" },\n    \"goalDescription\": { \"type\": \"string\" },\n    \"targetDate\": { \"type\": \"string\" },\n    \"targetCalories\": { \"type\": \"number\" },\n    \"status\": { \"type\": \"string\" },\n    \"_id\": { \"type\": \"string\" },\n    \"__v\": { \"type\": \"number\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","goals"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"3d9f4a74-3a13-48fe-b265-5707e806e445","name":"Create Goal","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goalName\" : \"Be fit\",\n    \"goalDescription\" : \"\",\n    \"targetDate\" : \"2024-07-12\",\n    \"targetCalories\" : \"1000\",\n    \"status\" : \"In Progress\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host-fitness-tracking}}/api/goals"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"168"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 12:47:07 GMT"},{"key":"Etag","value":"W/\"a8-zQtub+wsQH9rAIhXHIfmc2UnFIc\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"goalName\": \"Be fit\",\n    \"goalDescription\": \"\",\n    \"targetDate\": \"2024-07-12T00:00:00.000Z\",\n    \"targetCalories\": 1000,\n    \"status\": \"In Progress\",\n    \"_id\": \"663f68cb8c78ce04a8f56f6e\",\n    \"__v\": 0\n}"}],"_postman_id":"829948b2-f066-4edd-8e4f-be9d23a70a3c"},{"name":"Get Goals","id":"baf767df-a39c-4ebf-bf47-7441ddfc4b37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/api/goals","description":"<p>The <code>GET</code> request to <code>/api/goals</code> endpoint retrieves a list of goals. Below is the JSON schema for the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"_id\": {\n        \"type\": \"string\"\n      },\n      \"goalName\": {\n        \"type\": \"string\"\n      },\n      \"goalDescription\": {\n        \"type\": \"string\"\n      },\n      \"targetDate\": {\n        \"type\": \"string\"\n      },\n      \"targetCalories\": {\n        \"type\": \"number\"\n      },\n      \"status\": {\n        \"type\": \"string\"\n      },\n      \"__v\": {\n        \"type\": \"number\"\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","goals"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"c980c692-6120-480c-babc-5182d589171e","name":"{{host-fitness-tracking}}/api/goals","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/api/goals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"170"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 12:47:42 GMT"},{"key":"Etag","value":"W/\"aa-baRxV/F/Jeyn9YIoqVrM5S/ZHSQ\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"663f68cb8c78ce04a8f56f6e\",\n        \"goalName\": \"Be fit\",\n        \"goalDescription\": \"\",\n        \"targetDate\": \"2024-07-12T00:00:00.000Z\",\n        \"targetCalories\": 1000,\n        \"status\": \"In Progress\",\n        \"__v\": 0\n    }\n]"},{"id":"c8e6ed29-5366-47c7-b6fa-38585892b6c3","name":"{{host-fitness-tracking}}/api/goals","originalRequest":{"method":"GET","header":[],"url":"{{host-fitness-tracking}}/api/goals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"343"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 11 May 2024 12:49:50 GMT"},{"key":"Etag","value":"W/\"157-+51f9wS21+WsdBaoSl8paweJSys\""},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"663f68cb8c78ce04a8f56f6e\",\n        \"goalName\": \"Be fit\",\n        \"goalDescription\": \"\",\n        \"targetDate\": \"2024-07-12T00:00:00.000Z\",\n        \"targetCalories\": 1000,\n        \"status\": \"In Progress\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"663f69458c78ce04a8f56f71\",\n        \"goalName\": \"Reduce fat\",\n        \"goalDescription\": \"\",\n        \"targetDate\": \"2024-07-12T00:00:00.000Z\",\n        \"targetCalories\": 1000,\n        \"status\": \"In Progress\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"baf767df-a39c-4ebf-bf47-7441ddfc4b37"},{"name":"Delete Goal","id":"802e160a-f92f-4ae6-ac6a-3544d24886a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/api/goals/663f69478c78ce04a8f56f73","description":"<p>This endpoint sends an HTTP DELETE request to delete a specific goal identified by its ID. Upon successful deletion, the response will return a JSON schema describing the success status of the operation.</p>\n","urlObject":{"path":["api","goals","663f69478c78ce04a8f56f73"],"host":["{{host-fitness-tracking}}"],"query":[],"variable":[]}},"response":[{"id":"67d6ead1-9acc-4af2-a6e9-10a075e6c691","name":"Delete Goal","originalRequest":{"method":"DELETE","header":[],"url":"{{host-fitness-tracking}}/api/goals/663f69478c78ce04a8f56f73"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 11 May 2024 12:49:23 GMT"},{"key":"Replit-Cluster","value":"worf"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"802e160a-f92f-4ae6-ac6a-3544d24886a5"}]}