{"info":{"_postman_id":"14a47e9e-15c5-40af-8562-6db590c02144","name":"Food-App","description":"<html><head></head><body><h2 id=\"food-app-api\">Food-App API</h2>\n<p>This collection covers the complete backend API for a <strong>Food Ordering Application</strong>, running on <code>http://localhost:8080/api/v1</code>. It is organized into six functional modules:</p>\n<h3 id=\"🔐-auth\">🔐 AUTH</h3>\n<p>Handles user authentication. Register a new account and login to obtain access credentials.</p>\n<h3 id=\"👤-user\">👤 User</h3>\n<p>Manages user account operations including get, update, and delete a user profile, as well as reset and update passwords.</p>\n<h3 id=\"🍽️-restaurant\">🍽️ RESTAURANT</h3>\n<p>Full CRUD for restaurants. Create, get all, get by ID, and delete restaurant records.</p>\n<h3 id=\"🏷️-category\">🏷️ CATEGORY</h3>\n<p>Manage food categories. Create, get all, update, and delete categories used to organize menu items.</p>\n<h3 id=\"🍔-foods\">🍔 FOODS</h3>\n<p>Full CRUD for food items. Create, get all, get by ID, get by restaurant, update, and delete food entries.</p>\n<h3 id=\"📦-orders\">📦 ORDERS</h3>\n<p>Handles the ordering flow. Place an order and check order status.</p>\n<blockquote>\n<p><strong>Base URL:</strong> <code>http://localhost:8080/api/v1</code><br>All endpoints follow RESTful conventions. Authentication endpoints are under <code>/auth</code>, and protected routes require valid credentials obtained via login.</p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"55362925","collectionId":"14a47e9e-15c5-40af-8562-6db590c02144","publishedId":"2sBXwyJ7un","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-02T11:44:59.000Z"},"item":[{"name":"AUTH","item":[{"name":"register","id":"acfbc2a2-6b2a-46ad-adb3-d60e0381f801","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\":\"karen\",\r\n    \"email\":\"karen@gmail.com\",\r\n    \"password\": \"123456\",\r\n    \"phone\":\"7896452252\",\r\n    \"address\":[\"Bihar\",\"India\",\"Asia\"],\r\n    \"passkey\": \"toy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/register","description":"<h2 id=\"register-a-new-user\">Register a New User</h2>\n<p>This endpoint registers a new user account in the system. It is part of the authentication flow and does <strong>not</strong> require any prior authentication or token.</p>\n<hr />\n<h3 id=\"method\">Method</h3>\n<p><strong>POST</strong> <code>/api/v1/auth/register</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"584832f2-b285-49f0-8aef-4b84ccc67bd7","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\":\"try\",\r\n    \"email\":\"try@gmail.com\",\r\n    \"password\": \"123456\",\r\n    \"phone\":\"7896452252\",\r\n    \"address\":[\"Bihar\",\"India\",\"Asia\"],\r\n    \"passkey\": \"toy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-9aTsGR7znuu5UHox/AtRIbOLImA\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:45:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User Successfully Registered\"\n}"}],"_postman_id":"acfbc2a2-6b2a-46ad-adb3-d60e0381f801"},{"name":"login","id":"2615d7bd-5dde-42e8-8345-50e620343871","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \"email\":\"karen@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/login","description":"<p>Authenticates an existing user and returns an access token on success.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/auth/login</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e40ba3f5-d82e-432b-b33d-244b82c60b78","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \"email\":\"try@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"576"},{"key":"ETag","value":"W/\"240-ovIxdhJPBkn5n+CQIO1n9Yd3LT8\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:46:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User SuccessFully Login\",\n    \"token\": \"{{json_web_token}}\",\n    \"user\": {\n        \"_id\": \"6a43e4a812a160bd71470a70\",\n        \"userName\": \"try\",\n        \"email\": \"try@gmail.com\",\n        \"address\": [\n            \"Bihar\",\n            \"India\",\n            \"Asia\"\n        ],\n        \"phone\": \"7896452252\",\n        \"userType\": \"Client\",\n        \"profile\": \"https://cdn.pixabay.com/photo/2020/07/01/12/58/icon-5359553_1280.png\",\n        \"passkey\": \"toy\",\n        \"createdAt\": \"2026-06-30T15:45:44.382Z\",\n        \"updatedAt\": \"2026-06-30T15:45:44.382Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"2615d7bd-5dde-42e8-8345-50e620343871"}],"id":"7e898397-ae17-497a-98f8-c141446da724","description":"<p>Handles user authentication for the Food-App. This folder contains endpoints to <strong>register</strong> a new user account and <strong>log in</strong> to obtain access credentials required for protected routes.</p>\n","_postman_id":"7e898397-ae17-497a-98f8-c141446da724"},{"name":"User","item":[{"name":"GET USER","id":"c50c95e2-226a-4f83-b054-119504ff3ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/get-user","description":"<p>Retrieves the profile details of the currently authenticated user.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET http://localhost:8080/api/v1/user/get-user</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","get-user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"90b4f003-56b7-488a-a86a-0fc6c5fda237","name":"GET USER","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/user/get-user"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"399"},{"key":"ETag","value":"W/\"18f-/fVj12V9b3q6cpW7XJoRNmkiRS4\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:47:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"mesage\": \"User successfully found\",\n    \"user\": {\n        \"_id\": \"6a43db7812a160bd71470a6b\",\n        \"userName\": \"alamtkooh\",\n        \"email\": \"asdf@gmail.com\",\n        \"address\": [\n            \"Bihar\",\n            \"India\",\n            \"Asia\"\n        ],\n        \"phone\": \"7896452252\",\n        \"userType\": \"Admin\",\n        \"profile\": \"https://cdn.pixabay.com/photo/2020/07/01/12/58/icon-5359553_1280.png\",\n        \"passkey\": \"toy\",\n        \"createdAt\": \"2026-06-30T15:06:32.649Z\",\n        \"updatedAt\": \"2026-06-30T15:17:55.850Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"c50c95e2-226a-4f83-b054-119504ff3ea2"},{"name":"UPDATE USER","id":"7085e4f3-59fd-46be-bbb6-1e36d5309d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userName\": \"Tyrion\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/update-user","description":"<p>Updates the profile information of the currently authenticated user.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>PUT http://localhost:8080/api/v1/user/update-user</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","update-user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"299429ed-4a43-43ae-8c79-58e15cbc6854","name":"UPDATE USER","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userName\": \"Tyrion\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/update-user"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-qvvAVAJWJyhKX6ylJ+6uCA7pfKo\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:48:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"mesage\": \"user successfully Updated\"\n}"}],"_postman_id":"7085e4f3-59fd-46be-bbb6-1e36d5309d82"},{"name":"RESET PASSWORD","id":"41e23571-e212-494b-a4b8-0eab5b81a9e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{bearer_token_01my}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"karen@gmail.com\",\r\n    \"newPassword\": \"1234\",\r\n    \"passkey\": \"toy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/reset-password","description":"<p>Initiates a password reset flow for the currently authenticated user.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/user/reset-password</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","reset-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"29dc2f0f-cbce-4d9f-b5e3-a1f4885ae8bf","name":"RESET PASSWORD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{bearer_token_01my}}","type":"text"}],"body":{"mode":"raw","raw":"{ \"email\":\"try@gmail.com\",\r\n    \"newPassword\": \"try\",\r\n    \"passkey\": \"toy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/reset-password"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-6dDQy0ea7rRKe6/FQwy78zVA2DY\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:49:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"mesage\": \"your Password is reset\"\n}"}],"_postman_id":"41e23571-e212-494b-a4b8-0eab5b81a9e2"},{"name":"UPDATE PASSWORD","id":"150fd7ab-612a-4554-ae19-45141661f199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"1234\",\r\n    \"newPassword\": \"qwerty\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/update-password","description":"<p>Updates the password of the currently authenticated user.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST /api/v1/user/update-password</code> <em>(URL not yet configured)</em></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","update-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6b24fcef-d3bf-4777-8458-d0a186098fb3","name":"UPDATE PASSWORD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"try\",\r\n    \"newPassword\": \"tryagain\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/update-password"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-qUD/rv/yxaU6EUgml6YWD2ATfMc\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:51:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"mesage\": \"your Password is updated\"\n}"}],"_postman_id":"150fd7ab-612a-4554-ae19-45141661f199"},{"name":"DELETE USER","id":"80b42817-c60e-4242-91a5-bd7a61f9b448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/user/delete/","description":"<p>Deletes a specific user account by their unique user ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>DELETE http://localhost:8080/api/v1/user/delete/:userId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","delete",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4373e4be-dbcf-44be-b5aa-52917b0c7f40","name":"DELETE USER","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/user/delete/6a410c5a89a4d29a4a25cf04"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-+aIygttoYis30cTj9zr5wiFNDaY\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:52:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User Successfully Deleted\"\n}"}],"_postman_id":"80b42817-c60e-4242-91a5-bd7a61f9b448"}],"id":"824f9a29-3649-42df-a461-796d41ce3009","description":"<p>Manages user account operations. This folder provides endpoints to <strong>retrieve</strong>, <strong>update</strong>, and <strong>delete</strong> a user profile, as well as <strong>reset</strong> and <strong>update</strong> the account password.</p>\n","_postman_id":"824f9a29-3649-42df-a461-796d41ce3009"},{"name":"RESTAURANT","item":[{"name":"CREATE RESTAURANT","id":"6b238034-9496-4f39-bfa0-b0db54d7d293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"\r\n    {\r\n  \"title\": \"Burger Hut\",\r\n  \"imageUrl\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\",\r\n  \"foods\": [\r\n    {\r\n      \"dishName\": \"Chicken Pizza\",\r\n      \"price\": 299,\r\n      \"image\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\"\r\n    },\r\n    {\r\n      \"dishName\": \"Veg Supreme Pizza\",\r\n      \"price\": 249,\r\n      \"image\": \"https://images.unsplash.com/photo-1565299624946-b28f40a0ae38\"\r\n    },\r\n    {\r\n      \"dishName\": \"Cheese Burst Pizza\",\r\n      \"price\": 399,\r\n      \"image\": \"https://images.unsplash.com/photo-1548365328-9f547fb0953b\"\r\n    }\r\n  ],\r\n  \"time\": \"30-40 min\",\r\n  \"pickup\": true,\r\n  \"delivery\": true,\r\n  \"isOpen\": true,\r\n  \"logoUrl\": \"https://upload.wikimedia.org/wikipedia/commons/d/d2/Pizza_Hut_logo.svg\",\r\n  \"rating\": 4.5,\r\n  \"ratingCount\": \"2.5k\",\r\n  \"code\": \"PH001\",\r\n  \"coords\": {\r\n    \"id\": \"rest001\",\r\n    \"latitude\": 28.6139,\r\n    \"latitudeDelta\": 0.0122,\r\n    \"longitude\": 77.209,\r\n    \"longitudeDelta\": 0.0121,\r\n    \"address\": \"Connaught Place, New Delhi\",\r\n    \"title\": \"Pizza Hut CP\"\r\n  }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/restaurant/create","description":"<p>Creates a new restaurant record in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/restaurant/create</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","restaurant","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f4bca331-67f0-41d6-b06b-bbcda6d1705f","name":"CREATE RESTAURANT","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"\r\n    {\r\n  \"title\": \"Burger Hut\",\r\n  \"imageUrl\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\",\r\n  \"foods\": [\r\n    {\r\n      \"dishName\": \"Chicken Pizza\",\r\n      \"price\": 299,\r\n      \"image\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\"\r\n    },\r\n    {\r\n      \"dishName\": \"Veg Supreme Pizza\",\r\n      \"price\": 249,\r\n      \"image\": \"https://images.unsplash.com/photo-1565299624946-b28f40a0ae38\"\r\n    },\r\n    {\r\n      \"dishName\": \"Cheese Burst Pizza\",\r\n      \"price\": 399,\r\n      \"image\": \"https://images.unsplash.com/photo-1548365328-9f547fb0953b\"\r\n    }\r\n  ],\r\n  \"time\": \"30-40 min\",\r\n  \"pickup\": true,\r\n  \"delivery\": true,\r\n  \"isOpen\": true,\r\n  \"logoUrl\": \"https://upload.wikimedia.org/wikipedia/commons/d/d2/Pizza_Hut_logo.svg\",\r\n  \"rating\": 4.5,\r\n  \"ratingCount\": \"2.5k\",\r\n  \"code\": \"PH001\",\r\n  \"coords\": {\r\n    \"id\": \"rest001\",\r\n    \"latitude\": 28.6139,\r\n    \"latitudeDelta\": 0.0122,\r\n    \"longitude\": 77.209,\r\n    \"longitudeDelta\": 0.0121,\r\n    \"address\": \"Connaught Place, New Delhi\",\r\n    \"title\": \"Pizza Hut CP\"\r\n  }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/restaurant/create"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"60"},{"key":"ETag","value":"W/\"3c-hSuE/IvtADl3MSRpRWgN9ihMnPI\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:52:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Restaurant Created Successfully\"\n}"}],"_postman_id":"6b238034-9496-4f39-bfa0-b0db54d7d293"},{"name":"GET ALL RESTAURANT","id":"4f4c6035-869a-4b10-9834-47b06a83a37e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/restaurant/get-all","description":"<p>Retrieves a list of all restaurants available in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET http://localhost:8080/api/v1/restaurant/get-all</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","restaurant","get-all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8fbe1b01-682b-45ed-b851-dd019c804042","name":"GET ALL RESTAURANT","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/restaurant/get-all"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1918"},{"key":"ETag","value":"W/\"77e-wV6OONck8zDiLyuvvpISknXLikI\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:52:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"totalCount\": 2,\n    \"restaurants\": [\n        {\n            \"coords\": {\n                \"id\": \"rest001\",\n                \"latitude\": 28.6139,\n                \"latitudeDelta\": 0.0122,\n                \"longitude\": 77.209,\n                \"longitudeDelta\": 0.0121,\n                \"address\": \"Connaught Place, New Delhi\",\n                \"title\": \"Pizza Hut CP\"\n            },\n            \"_id\": \"6a43df9912a160bd71470a6c\",\n            \"title\": \"Pizza Hut\",\n            \"imageUrl\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\",\n            \"foods\": [\n                {\n                    \"dishName\": \"Chicken Pizza\",\n                    \"price\": 299,\n                    \"image\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\"\n                },\n                {\n                    \"dishName\": \"Veg Supreme Pizza\",\n                    \"price\": 249,\n                    \"image\": \"https://images.unsplash.com/photo-1565299624946-b28f40a0ae38\"\n                },\n                {\n                    \"dishName\": \"Cheese Burst Pizza\",\n                    \"price\": 399,\n                    \"image\": \"https://images.unsplash.com/photo-1548365328-9f547fb0953b\"\n                }\n            ],\n            \"time\": \"30-40 min\",\n            \"pickup\": true,\n            \"delivery\": true,\n            \"isOpen\": true,\n            \"logoUrl\": \"https://upload.wikimedia.org/wikipedia/commons/d/d2/Pizza_Hut_logo.svg\",\n            \"rating\": 4.5,\n            \"ratingCount\": \"2.5k\",\n            \"code\": \"PH001\",\n            \"createdAt\": \"2026-06-30T15:24:09.326Z\",\n            \"updatedAt\": \"2026-06-30T15:24:09.326Z\",\n            \"__v\": 0\n        },\n        {\n            \"coords\": {\n                \"id\": \"rest001\",\n                \"latitude\": 28.6139,\n                \"latitudeDelta\": 0.0122,\n                \"longitude\": 77.209,\n                \"longitudeDelta\": 0.0121,\n                \"address\": \"Connaught Place, New Delhi\",\n                \"title\": \"Pizza Hut CP\"\n            },\n            \"_id\": \"6a43e64a12a160bd71470a71\",\n            \"title\": \"Burger Hut\",\n            \"imageUrl\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\",\n            \"foods\": [\n                {\n                    \"dishName\": \"Chicken Pizza\",\n                    \"price\": 299,\n                    \"image\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\"\n                },\n                {\n                    \"dishName\": \"Veg Supreme Pizza\",\n                    \"price\": 249,\n                    \"image\": \"https://images.unsplash.com/photo-1565299624946-b28f40a0ae38\"\n                },\n                {\n                    \"dishName\": \"Cheese Burst Pizza\",\n                    \"price\": 399,\n                    \"image\": \"https://images.unsplash.com/photo-1548365328-9f547fb0953b\"\n                }\n            ],\n            \"time\": \"30-40 min\",\n            \"pickup\": true,\n            \"delivery\": true,\n            \"isOpen\": true,\n            \"logoUrl\": \"https://upload.wikimedia.org/wikipedia/commons/d/d2/Pizza_Hut_logo.svg\",\n            \"rating\": 4.5,\n            \"ratingCount\": \"2.5k\",\n            \"code\": \"PH001\",\n            \"createdAt\": \"2026-06-30T15:52:42.876Z\",\n            \"updatedAt\": \"2026-06-30T15:52:42.876Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"4f4c6035-869a-4b10-9834-47b06a83a37e"},{"name":"GET RESTAURANT BY ID","id":"205cf196-0535-429f-bebc-6c6cdfb87b04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/restaurant/get-by-id/6a43df9912a160bd71470a6c","description":"<p>Retrieves full details of a specific restaurant by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET http://localhost:8080/api/v1/restaurant/get-by-id/:restaurantId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","restaurant","get-by-id","6a43df9912a160bd71470a6c"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"842affdb-148e-4778-9825-7efd1a35e870","name":"GET RESTAURANT BY ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/restaurant/get-by-id/6a43df9912a160bd71470a6c"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"964"},{"key":"ETag","value":"W/\"3c4-N9xWA4IJIcfGKm3kBUoTYFaWrhs\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:53:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"restaurant\": {\n        \"coords\": {\n            \"id\": \"rest001\",\n            \"latitude\": 28.6139,\n            \"latitudeDelta\": 0.0122,\n            \"longitude\": 77.209,\n            \"longitudeDelta\": 0.0121,\n            \"address\": \"Connaught Place, New Delhi\",\n            \"title\": \"Pizza Hut CP\"\n        },\n        \"_id\": \"6a43df9912a160bd71470a6c\",\n        \"title\": \"Pizza Hut\",\n        \"imageUrl\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\",\n        \"foods\": [\n            {\n                \"dishName\": \"Chicken Pizza\",\n                \"price\": 299,\n                \"image\": \"https://images.unsplash.com/photo-1513104890138-7c749659a591\"\n            },\n            {\n                \"dishName\": \"Veg Supreme Pizza\",\n                \"price\": 249,\n                \"image\": \"https://images.unsplash.com/photo-1565299624946-b28f40a0ae38\"\n            },\n            {\n                \"dishName\": \"Cheese Burst Pizza\",\n                \"price\": 399,\n                \"image\": \"https://images.unsplash.com/photo-1548365328-9f547fb0953b\"\n            }\n        ],\n        \"time\": \"30-40 min\",\n        \"pickup\": true,\n        \"delivery\": true,\n        \"isOpen\": true,\n        \"logoUrl\": \"https://upload.wikimedia.org/wikipedia/commons/d/d2/Pizza_Hut_logo.svg\",\n        \"rating\": 4.5,\n        \"ratingCount\": \"2.5k\",\n        \"code\": \"PH001\",\n        \"createdAt\": \"2026-06-30T15:24:09.326Z\",\n        \"updatedAt\": \"2026-06-30T15:24:09.326Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"205cf196-0535-429f-bebc-6c6cdfb87b04"},{"name":"DELETE RESTAURANT","id":"d9c73e89-1a36-49fa-9607-feabe1f4b7c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/restaurant/delete/6a43df9912a160bd71470a6c","description":"<p>Permanently deletes a specific restaurant by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>DELETE http://localhost:8080/api/v1/restaurant/delete/:restaurantId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","restaurant","delete","6a43df9912a160bd71470a6c"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9047dae6-71d0-42fe-8e3b-faa5f60477da","name":"DELETE RESTAURANT","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/restaurant/delete/6a43df9912a160bd71470a6c"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-1HD3eSLhqb1JkyejnEKF/Bxf9dU\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:53:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Restaurant deleted Sucessfully\"\n}"}],"_postman_id":"d9c73e89-1a36-49fa-9607-feabe1f4b7c0"}],"id":"8acf0c89-e013-4817-b972-4630a71180a4","description":"<p>Provides full CRUD operations for restaurant management. This folder includes endpoints to <strong>create</strong> a new restaurant, <strong>retrieve</strong> all restaurants or a specific one by ID, and <strong>delete</strong> a restaurant record.</p>\n","_postman_id":"8acf0c89-e013-4817-b972-4630a71180a4"},{"name":"CATEGORY","item":[{"name":"CREATE CATEGORY","id":"951156bf-2583-43c2-90e5-6b22d2aff751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Burger Sandwich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/create","description":"<p>Creates a new food category in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/category/create</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"570864f2-29ec-4d38-964e-49830d034638","name":"CREATE CATEGORY","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Burger Sandwich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/create"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"356"},{"key":"ETag","value":"W/\"164-buwqB16xdC2QwU5z6+T5saSjxOk\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:54:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Category Created Successfully\",\n    \"newCategory\": {\n        \"title\": \"Burger Sandwich\",\n        \"imageUrl\": \"https://graphicsfamily.com/wp-content/uploads/edd/2021/06/Editable-Photoshop-Food-Logo-Design-PNG-Transparent-2048x2048.png\",\n        \"_id\": \"6a43e69f12a160bd71470a72\",\n        \"createdAt\": \"2026-06-30T15:54:07.857Z\",\n        \"updatedAt\": \"2026-06-30T15:54:07.857Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"951156bf-2583-43c2-90e5-6b22d2aff751"},{"name":"GET ALL CATEGORY","id":"0c55a340-e68c-4701-a67c-44cf816d0f11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/category/get-all","description":"<p>Retrieves a list of all food categories available in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET http://localhost:8080/api/v1/category/get-all</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","get-all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7918592e-bbcc-47dd-b642-2f9bdcd8c7ef","name":"GET ALL CATEGORY","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/category/get-all"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"614"},{"key":"ETag","value":"W/\"266-f10xs6oOPuIYg99SJLpPESTwpUE\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:54:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"totalCategory\": 2,\n    \"categories\": [\n        {\n            \"_id\": \"6a43e04312a160bd71470a6d\",\n            \"title\": \"Burger Juice\",\n            \"imageUrl\": \"https://graphicsfamily.com/wp-content/uploads/edd/2021/06/Editable-Photoshop-Food-Logo-Design-PNG-Transparent-2048x2048.png\",\n            \"createdAt\": \"2026-06-30T15:26:59.390Z\",\n            \"updatedAt\": \"2026-06-30T15:26:59.390Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6a43e69f12a160bd71470a72\",\n            \"title\": \"Burger Sandwich\",\n            \"imageUrl\": \"https://graphicsfamily.com/wp-content/uploads/edd/2021/06/Editable-Photoshop-Food-Logo-Design-PNG-Transparent-2048x2048.png\",\n            \"createdAt\": \"2026-06-30T15:54:07.857Z\",\n            \"updatedAt\": \"2026-06-30T15:54:07.857Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"0c55a340-e68c-4701-a67c-44cf816d0f11"},{"name":"UPDATE CATEGORY","id":"5fd63f89-d3e0-4885-908d-df6f6d0d30e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Dosaa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/update/6a43e04312a160bd71470a6d","description":"<p>Updates the details of an existing food category by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>PUT http://localhost:8080/api/v1/category/update/:categoryId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","update","6a43e04312a160bd71470a6d"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"72c86518-d7a1-44d4-a2f3-cb17b254ee2e","name":"UPDATE CATEGORY","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Dosaa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/update/6a43e04312a160bd71470a6d"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"343"},{"key":"ETag","value":"W/\"157-BCYel/TMGBlcoyOvJaklAk0UEH4\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:55:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Category updated Successfully\",\n    \"category\": {\n        \"_id\": \"6a43e04312a160bd71470a6d\",\n        \"title\": \"Dosaa\",\n        \"imageUrl\": \"https://graphicsfamily.com/wp-content/uploads/edd/2021/06/Editable-Photoshop-Food-Logo-Design-PNG-Transparent-2048x2048.png\",\n        \"createdAt\": \"2026-06-30T15:26:59.390Z\",\n        \"updatedAt\": \"2026-06-30T15:55:11.712Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"5fd63f89-d3e0-4885-908d-df6f6d0d30e5"},{"name":"DELETE CATEGORY","id":"a383df10-e7cf-4706-aa02-b9f1ca08dd37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/category/delete/6a43e04312a160bd71470a6d","description":"<p>Permanently deletes a specific food category by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>DELETE http://localhost:8080/api/v1/category/delete/:categoryId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","delete","6a43e04312a160bd71470a6d"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1f104ac6-616f-46a8-b342-9e2bf30ccfd3","name":"DELETE CATEGORY","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/category/delete/6a43e04312a160bd71470a6d"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-4Py9KylMBrGqpMZqUfqcNTRqDRY\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:55:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Category Deleted Successfully\"\n}"}],"_postman_id":"a383df10-e7cf-4706-aa02-b9f1ca08dd37"}],"id":"d60f346d-6add-432e-a07b-281ad025d7d0","description":"<p>Manages food categories used to organize menu items. This folder contains endpoints to <strong>create</strong>, <strong>retrieve all</strong>, <strong>update</strong>, and <strong>delete</strong> categories within the application.</p>\n","_postman_id":"d60f346d-6add-432e-a07b-281ad025d7d0"},{"name":"FOODS","item":[{"name":"CREATE FOOD","id":"f38d6eff-77ab-44cb-b28c-8c5899cdea16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Chicken kebab\",\r\n  \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\r\n  \"price\": 249,\r\n  \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\r\n  \"foodTags\": \"Biryani, Spicy, Non-Veg\",\r\n  \"category\": \"Biryani\",\r\n  \"code\": \"FD001\",\r\n  \"isAvailable\": true,\r\n  \"restaurant\": \"686273f62d93d70dbf2f7443\",\r\n  \"rating\": 4.8,\r\n  \"ratingCount\": \"1.5k\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/create","description":"<p>Creates a new food item in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/food/create</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3465dcc0-acae-4b1b-b16e-fc1ab465c2a6","name":"CREATE FOOD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Chicken kebab\",\r\n  \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\r\n  \"price\": 249,\r\n  \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\r\n  \"foodTags\": \"Biryani, Spicy, Non-Veg\",\r\n  \"category\": \"Biryani\",\r\n  \"code\": \"FD001\",\r\n  \"isAvailable\": true,\r\n  \"restaurant\": \"686273f62d93d70dbf2f7443\",\r\n  \"rating\": 4.8,\r\n  \"ratingCount\": \"1.5k\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/create"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"539"},{"key":"ETag","value":"W/\"21b-FAmGPOoc386Ou+42BMSL1EVOacE\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:56:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"New Food Item Created\",\n    \"newFood\": {\n        \"title\": \"Chicken kebab\",\n        \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\n        \"price\": 249,\n        \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\n        \"foodTags\": \"Biryani, Spicy, Non-Veg\",\n        \"category\": \"Biryani\",\n        \"code\": \"FD001\",\n        \"isAvailable\": true,\n        \"restaurant\": \"686273f62d93d70dbf2f7443\",\n        \"rating\": 4.8,\n        \"ratingCount\": \"1.5k\",\n        \"_id\": \"6a43e71412a160bd71470a73\",\n        \"createdAt\": \"2026-06-30T15:56:04.791Z\",\n        \"updatedAt\": \"2026-06-30T15:56:04.791Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"f38d6eff-77ab-44cb-b28c-8c5899cdea16"},{"name":"GET ALL FOOD","id":"175262f4-dbcb-497d-a445-9d53c5d207a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/api/v1/food/get-all","description":"<p>Retrieves a list of all food items available in the system.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET /api/v1/food/get-all</code> <em>(Base URL not yet configured)</em></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","get-all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3d42c7fe-a2f7-42c1-9eff-5c3968327a3a","name":"GET ALL FOOD","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/api/v1/food/get-all"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1457"},{"key":"ETag","value":"W/\"5b1-GSoWOA12MxGwjPgbyrjjuR2eqt0\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:56:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"totalFoods\": 3,\n    \"foods\": [\n        {\n            \"_id\": \"6a434af12b9d7b77caa108ed\",\n            \"title\": \"White Sauce Pasta\",\n            \"description\": \"Creamy white sauce pasta with herbs and mushrooms.\",\n            \"price\": 229,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1621996346565-e3dbc646d9a9\",\n            \"foodTags\": \"Pasta, Italian\",\n            \"category\": \"Pasta\",\n            \"code\": \"FD004\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.7,\n            \"ratingCount\": \"780\",\n            \"createdAt\": \"2026-06-30T04:49:53.314Z\",\n            \"updatedAt\": \"2026-06-30T04:49:53.314Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6a43e18512a160bd71470a6e\",\n            \"title\": \"Chicken Biryani\",\n            \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\n            \"price\": 249,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\n            \"foodTags\": \"Biryani, Spicy, Non-Veg\",\n            \"category\": \"Biryani\",\n            \"code\": \"FD001\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.8,\n            \"ratingCount\": \"1.5k\",\n            \"createdAt\": \"2026-06-30T15:32:21.107Z\",\n            \"updatedAt\": \"2026-06-30T15:32:21.107Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6a43e71412a160bd71470a73\",\n            \"title\": \"Chicken kebab\",\n            \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\n            \"price\": 249,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\n            \"foodTags\": \"Biryani, Spicy, Non-Veg\",\n            \"category\": \"Biryani\",\n            \"code\": \"FD001\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.8,\n            \"ratingCount\": \"1.5k\",\n            \"createdAt\": \"2026-06-30T15:56:04.791Z\",\n            \"updatedAt\": \"2026-06-30T15:56:04.791Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"175262f4-dbcb-497d-a445-9d53c5d207a5"},{"name":"GET FOOD BY ID","id":"1e9ac00a-249a-424d-bc3f-074f17b13985","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/api/v1/food/get-by-id/6a434af12b9d7b77caa108ed","description":"<p>Retrieves the details of a single food item by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET /api/v1/food/get-by-id/:foodId</code> <em>(Base URL not yet configured)</em></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","get-by-id","6a434af12b9d7b77caa108ed"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dc4f8b97-2678-4332-8222-c46ddd1dc346","name":"GET FOOD BY ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/api/v1/food/get-by-id/6a434af12b9d7b77caa108ed"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"515"},{"key":"ETag","value":"W/\"203-ybIXdgi5IjkxfGA23fGpVG7Gb5E\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:57:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food Successfully Found\",\n    \"food\": {\n        \"_id\": \"6a434af12b9d7b77caa108ed\",\n        \"title\": \"White Sauce Pasta\",\n        \"description\": \"Creamy white sauce pasta with herbs and mushrooms.\",\n        \"price\": 229,\n        \"imageUrl\": \"https://images.unsplash.com/photo-1621996346565-e3dbc646d9a9\",\n        \"foodTags\": \"Pasta, Italian\",\n        \"category\": \"Pasta\",\n        \"code\": \"FD004\",\n        \"isAvailable\": true,\n        \"restaurant\": \"686273f62d93d70dbf2f7443\",\n        \"rating\": 4.7,\n        \"ratingCount\": \"780\",\n        \"createdAt\": \"2026-06-30T04:49:53.314Z\",\n        \"updatedAt\": \"2026-06-30T04:49:53.314Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"1e9ac00a-249a-424d-bc3f-074f17b13985"},{"name":"GET FOOD BY RESTAURANT ID","id":"91ac85e2-7363-46c5-9a0f-8252d1a7fd99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/food/get-by-restaurant-id/686273f62d93d70dbf2f7443","description":"<p>Retrieves all food items belonging to a specific restaurant.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>GET http://localhost:8080/api/v1/food/get-by-restaurant-id/:restaurantId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","get-by-restaurant-id","686273f62d93d70dbf2f7443"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9af7d2de-e8bb-453c-8569-f0b8dc4bda1b","name":"GET FOOD BY RESTAURANT ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/food/get-by-restaurant-id/686273f62d93d70dbf2f7443"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1487"},{"key":"ETag","value":"W/\"5cf-BbntJpjpfgI8jWBwJus3GqxwW1k\""},{"key":"Date","value":"Tue, 30 Jun 2026 15:58:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food Successfully Found\",\n    \"foodRestaurant\": [\n        {\n            \"_id\": \"6a434af12b9d7b77caa108ed\",\n            \"title\": \"White Sauce Pasta\",\n            \"description\": \"Creamy white sauce pasta with herbs and mushrooms.\",\n            \"price\": 229,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1621996346565-e3dbc646d9a9\",\n            \"foodTags\": \"Pasta, Italian\",\n            \"category\": \"Pasta\",\n            \"code\": \"FD004\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.7,\n            \"ratingCount\": \"780\",\n            \"createdAt\": \"2026-06-30T04:49:53.314Z\",\n            \"updatedAt\": \"2026-06-30T04:49:53.314Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6a43e18512a160bd71470a6e\",\n            \"title\": \"Chicken Biryani\",\n            \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\n            \"price\": 249,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\n            \"foodTags\": \"Biryani, Spicy, Non-Veg\",\n            \"category\": \"Biryani\",\n            \"code\": \"FD001\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.8,\n            \"ratingCount\": \"1.5k\",\n            \"createdAt\": \"2026-06-30T15:32:21.107Z\",\n            \"updatedAt\": \"2026-06-30T15:32:21.107Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6a43e71412a160bd71470a73\",\n            \"title\": \"Chicken kebab\",\n            \"description\": \"Delicious Hyderabadi chicken biryani served with raita and salad.\",\n            \"price\": 249,\n            \"imageUrl\": \"https://images.unsplash.com/photo-1563379091339-03246963d29c\",\n            \"foodTags\": \"Biryani, Spicy, Non-Veg\",\n            \"category\": \"Biryani\",\n            \"code\": \"FD001\",\n            \"isAvailable\": true,\n            \"restaurant\": \"686273f62d93d70dbf2f7443\",\n            \"rating\": 4.8,\n            \"ratingCount\": \"1.5k\",\n            \"createdAt\": \"2026-06-30T15:56:04.791Z\",\n            \"updatedAt\": \"2026-06-30T15:56:04.791Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"91ac85e2-7363-46c5-9a0f-8252d1a7fd99"},{"name":"UPDATE FOOD","id":"4141f3e2-6bfc-4fa1-94fc-e355a6cdcbe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Soup\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/update/6a434af12b9d7b77caa108ed","description":"<p>Updates the details of an existing food item by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>PUT http://localhost:8080/api/v1/food/update/:foodId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","update","6a434af12b9d7b77caa108ed"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c128d337-bb87-4b63-8ce8-d23bcc53caaa","name":"UPDATE FOOD","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Soup\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/update/6a434af12b9d7b77caa108ed"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"511"},{"key":"ETag","value":"W/\"1ff-NnDz8+p4ifVdIvCtetuAk9hyBIE\""},{"key":"Date","value":"Tue, 30 Jun 2026 16:00:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food Successfully Updated\",\n    \"UpdatedFood\": {\n        \"_id\": \"6a434af12b9d7b77caa108ed\",\n        \"title\": \"Soup\",\n        \"description\": \"Creamy white sauce pasta with herbs and mushrooms.\",\n        \"price\": 229,\n        \"imageUrl\": \"https://images.unsplash.com/photo-1621996346565-e3dbc646d9a9\",\n        \"foodTags\": \"Pasta, Italian\",\n        \"category\": \"Pasta\",\n        \"code\": \"FD004\",\n        \"isAvailable\": true,\n        \"restaurant\": \"686273f62d93d70dbf2f7443\",\n        \"rating\": 4.7,\n        \"ratingCount\": \"780\",\n        \"createdAt\": \"2026-06-30T04:49:53.314Z\",\n        \"updatedAt\": \"2026-06-30T16:00:36.718Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"4141f3e2-6bfc-4fa1-94fc-e355a6cdcbe8"},{"name":"DELETE FOOD","id":"4a7ccbf8-d82d-4ccb-8610-2e00191294a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/api/v1/food/delete/6a434af12b9d7b77caa108ed","description":"<p>Permanently deletes a specific food item by its unique ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>DELETE http://localhost:8080/api/v1/food/delete/:foodId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","delete","6a434af12b9d7b77caa108ed"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3767075e-9379-491a-84fd-63b26815fbca","name":"DELETE FOOD","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"url":"http://localhost:8080/api/v1/food/delete/6a434af12b9d7b77caa108ed"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-6ZqMDAZVtbjGkOYi50GYN2pXDsA\""},{"key":"Date","value":"Tue, 30 Jun 2026 16:00:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food Successfully Deleted\"\n}"}],"_postman_id":"4a7ccbf8-d82d-4ccb-8610-2e00191294a0"}],"id":"ce49259a-5d03-45b7-a558-753d220f88a8","description":"<p>Provides full CRUD operations for food item management. This folder includes endpoints to <strong>create</strong>, <strong>retrieve</strong> (all, by ID, or by restaurant), <strong>update</strong>, and <strong>delete</strong> food entries in the menu.</p>\n","_postman_id":"ce49259a-5d03-45b7-a558-753d220f88a8"},{"name":"ORDERS","item":[{"name":"PLACE ORDER","id":"f64e3635-f63f-4790-8613-e3a10287eec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"cart\": [\r\n    {\r\n      \"_id\": \"686274ab2d93d70dbf2f7445\",\r\n      \"price\": 299\r\n    },\r\n    {\r\n      \"_id\": \"686274ab2d93d70dbf2f7446\",\r\n      \"price\": 199\r\n    }\r\n  ],\r\n  \"payment\": {\r\n    \"method\": \"Cash on Delivery\",\r\n    \"status\": \"Pending\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/order/placeorder","description":"<p>Places a new food order on behalf of the authenticated user.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/order/placeorder</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","order","placeorder"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a2b997a6-699c-44df-839a-3fb61d5002b8","name":"PLACE ORDER","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"cart\": [\r\n    {\r\n      \"_id\": \"686274ab2d93d70dbf2f7445\",\r\n      \"price\": 299\r\n    },\r\n    {\r\n      \"_id\": \"686274ab2d93d70dbf2f7446\",\r\n      \"price\": 199\r\n    }\r\n  ],\r\n  \"payment\": {\r\n    \"method\": \"Cash on Delivery\",\r\n    \"status\": \"Pending\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/order/placeorder"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"320"},{"key":"ETag","value":"W/\"140-bGjCIn6o4DGdBqwCpQd8ZRlXVxU\""},{"key":"Date","value":"Tue, 30 Jun 2026 16:01:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Order Placed Successfully\",\n    \"newOrder\": {\n        \"foods\": [\n            \"686274ab2d93d70dbf2f7445\",\n            \"686274ab2d93d70dbf2f7446\"\n        ],\n        \"payment\": 498,\n        \"buyer\": \"6a43e4a812a160bd71470a70\",\n        \"status\": \"preparing\",\n        \"_id\": \"6a43e84812a160bd71470a74\",\n        \"createdAt\": \"2026-06-30T16:01:12.724Z\",\n        \"updatedAt\": \"2026-06-30T16:01:12.724Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"f64e3635-f63f-4790-8613-e3a10287eec7"},{"name":"ORDER STATUS","id":"e8744087-e183-4335-a271-13a9eac382cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"Prepared\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/order/orderstatus/6a434c7d2b9d7b77caa108ee","description":"<p>Retrieves or updates the status of an existing order by its unique order ID.</p>\n<h2 id=\"method\">Method</h2>\n<p><code>POST http://localhost:8080/api/v1/order/orderstatus/:orderId</code></p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","order","orderstatus","6a434c7d2b9d7b77caa108ee"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e1856736-f0e5-43f1-84f6-9aaa650dab1d","name":"ORDER STATUS","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"Prepared\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/order/orderstatus/6a434c7d2b9d7b77caa108ee"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"ETag","value":"W/\"31-aDfMCoumVQQ0045ZYdMgEIlihAI\""},{"key":"Date","value":"Tue, 30 Jun 2026 16:04:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Order status Updated\"\n}"}],"_postman_id":"e8744087-e183-4335-a271-13a9eac382cc"}],"id":"3e1e58e1-9eec-4db5-be42-9c11b5142b8c","description":"<p>Handles the order lifecycle for the Food-App. This folder contains endpoints to <strong>place a new order</strong> and <strong>check the status</strong> of an existing order.</p>\n","_postman_id":"3e1e58e1-9eec-4db5-be42-9c11b5142b8c"}],"variable":[{"id":"22cf5e60-ae64-409e-9745-00e6b300b99a","key":"bearer_token_0ry4"},{"id":"ca819222-9f9d-46e1-b1a4-0dae09bf5cb0","key":"supabase_service_role_api_key_05r7"},{"id":"beb45d13-7520-43d7-869c-cd013aa1c862","key":"bearer_token_14mj"},{"id":"5a5d04e5-7715-422c-8959-ce420c588863","key":"json_web_token_19vu"},{"id":"efb3d6c3-e78b-4818-a1da-50be841c504f","key":"bearer_token_01my"},{"id":"400fb788-35df-4dd1-9dfb-41c0ad35a988","key":"json_web_token_12uu"},{"id":"fecb536a-1a69-41cf-bf3f-2ee67a38889f","key":"bearer_token_1b7l"},{"id":"5d2be379-6135-4323-8d11-a7b1eed69530","key":"supabase_service_role_api_key_1djt"},{"id":"806a695e-889a-4fcd-b1ea-2489f34164b5","key":"Secret_token","value":""}]}