{"info":{"_postman_id":"43f60a8b-090c-4f60-be93-1c29e1017d76","name":"food-app","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"51558579","collectionId":"43f60a8b-090c-4f60-be93-1c29e1017d76","publishedId":"2sBXigKY7S","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-12T16:33:02.000Z"},"item":[{"name":"AUTH","item":[{"name":"register","id":"096bb539-09c5-4dd5-a6e8-c55d6cc4b0a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\": \"vishnu_v\",\r\n    \"email\": \"vishnu@test.com\",\r\n    \"password\": \"password123\",\r\n    \"phone\": \"9876543210\",\r\n    \"address\": \"Noida, Sector 62\",\r\n    \"answer\": \"Blue\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/register","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"096bb539-09c5-4dd5-a6e8-c55d6cc4b0a4"},{"name":"login","id":"528b3d29-c237-4848-8d10-a4a024a8aca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"vishnu@test.com\",\r\n    \"password\": \"password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/login","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"528b3d29-c237-4848-8d10-a4a024a8aca2"}],"id":"b6fee585-45b4-46d8-8f43-587d8c5f39ab","_postman_id":"b6fee585-45b4-46d8-8f43-587d8c5f39ab","description":""},{"name":"User","item":[{"name":"GET USER","id":"839c5e66-a5de-4798-b0e1-29476df4ad64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{ \"id\": \"69887ec88ce34d9880c7dca3\" }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/getUser","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","getUser"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"839c5e66-a5de-4798-b0e1-29476df4ad64"},{"name":"UPDATE USER","id":"cfcca98d-ff10-4966-961d-fc12bad1028e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"69887ec88ce34d9880c7dca3\",\r\n    \"userName\": \"Vishnu Varshnay Updated\",\r\n    \"address\": \"Noida, Sector 62\",\r\n    \"phone\": \"9876543210\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/updateUser","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","updateUser"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfcca98d-ff10-4966-961d-fc12bad1028e"},{"name":"UPDATE PASSWORD","id":"7845cc54-82d3-4056-ad22-2ae52c5da307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"69887ec88ce34d9880c7dca3\",\r\n    \"oldPassword\": \"password123\",\r\n    \"newPassword\": \"newpassword456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/updatePassword","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","updatePassword"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7845cc54-82d3-4056-ad22-2ae52c5da307"},{"name":"RESET PASSWORD","id":"b5f6e288-bf2b-4a33-a224-82fbd8796fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"vishnu@test.com\",\r\n    \"newPassword\": \"myNewResetPassword123\",\r\n    \"answer\": \"Blue\" \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/user/resetPassword","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","resetPassword"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5f6e288-bf2b-4a33-a224-82fbd8796fcf"},{"name":"DELETE ACCOUNT","id":"3dc1c890-d3b0-4a75-bbb6-d93957df1b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/user/deleteUser/69887ec88ce34d9880c7dca3","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user","deleteUser","69887ec88ce34d9880c7dca3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dc1c890-d3b0-4a75-bbb6-d93957df1b55"}],"id":"3061457c-ccdf-46bd-896e-e0e42a8c01d9","_postman_id":"3061457c-ccdf-46bd-896e-e0e42a8c01d9","description":""},{"name":"RESTURANTS","item":[{"name":"CREATE RESTURANT","id":"a6da787c-a16e-4f0f-9ab7-f599237abf7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Burger King\",\r\n  \"imageUrl\": \"http://burgerking-image.jpg\",\r\n  \"foods\": [],\r\n  \"time\": \"10am to 11pm\",\r\n  \"pickup\": true,\r\n  \"delivery\": true,\r\n  \"isOpen\": true,\r\n  \"logoUrl\": \"http://bk-logo.jpg\",\r\n  \"rating\": 4.5,\r\n  \"ratingCount\": \"250\",\r\n  \"code\": \"BURGER50\",\r\n  \"coords\": {\r\n    \"id\": \"loc2\",\r\n    \"latitude\": \"28.6280\",\r\n    \"longitude\": \"77.3700\",\r\n    \"address\": \"Sector 18, Noida\",\r\n    \"title\": \"Burger King Noida\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/resturant/create","urlObject":{"protocol":"http","port":"8080","path":["api","v1","resturant","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6da787c-a16e-4f0f-9ab7-f599237abf7b"},{"name":"GET ALL RESTURANT","id":"51bf77ac-b6f2-4ce7-9330-44e13c4247a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/resturant/getAll","urlObject":{"protocol":"http","port":"8080","path":["api","v1","resturant","getAll"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"51bf77ac-b6f2-4ce7-9330-44e13c4247a2"},{"name":"GET RESTURANT BY ID","id":"ec3209aa-db0f-4553-8e5b-90da3a7fcf46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/resturant/get/6986cb819ab2cef570f0756b","urlObject":{"protocol":"http","port":"8080","path":["api","v1","resturant","get","6986cb819ab2cef570f0756b"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec3209aa-db0f-4553-8e5b-90da3a7fcf46"},{"name":"DELETE RESTURANT","id":"b25486ed-8ea9-40de-b323-c8b82520464e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/resturant/delete/6986cb819ab2cef570f0756b","urlObject":{"protocol":"http","port":"8080","path":["api","v1","resturant","delete","6986cb819ab2cef570f0756b"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b25486ed-8ea9-40de-b323-c8b82520464e"}],"id":"efa369c9-eb54-495c-9789-2cc39328f877","_postman_id":"efa369c9-eb54-495c-9789-2cc39328f877","description":""},{"name":"CATEGORY","item":[{"name":"CREATE CAT","id":"04134c3b-092e-483d-92bc-e908c5f83f94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Authentic Italian\",\r\n  \"imageUrl\": \"https://example.com/new-italian.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/create","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"04134c3b-092e-483d-92bc-e908c5f83f94"},{"name":"GET ALL CAT","id":"c885ce17-8264-417a-87c4-a18a614b7eaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/category/getAll","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","getAll"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c885ce17-8264-417a-87c4-a18a614b7eaa"},{"name":"UPDATE CAT","id":"29d4ab94-cd50-40c7-b3a8-3983ba681437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Italian\",\r\n  \"imageUrl\": \"https://example.com/italian.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/category/update/698896d18ce34d9880c7dcc1","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","update","698896d18ce34d9880c7dcc1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"29d4ab94-cd50-40c7-b3a8-3983ba681437"},{"name":"DELETE CAT","id":"987a785f-a7ef-44e7-9927-7c01b5ad06da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/category/delete/698896d18ce34d9880c7dcc1","urlObject":{"protocol":"http","port":"8080","path":["api","v1","category","delete","698896d18ce34d9880c7dcc1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"987a785f-a7ef-44e7-9927-7c01b5ad06da"}],"id":"89f52407-e684-4acb-8d30-fbb07e6d2fef","_postman_id":"89f52407-e684-4acb-8d30-fbb07e6d2fef","description":""},{"name":"FOODS","item":[{"name":"CREATE FOOD","id":"89772ae3-7290-411f-9e06-5327bbfc7e05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Paneer Butter Masala\",\r\n  \"description\": \"Rich and creamy tomato-based paneer curry\",\r\n  \"price\": 250,\r\n  \"imageUrl\": \"https://example.com/paneer.jpg\",\r\n  \"foodTags\": \"Veg\",\r\n  \"catgeory\": \"698896d18ce34d9880c7dcc1\", \r\n  \"code\": \"PBM101\",\r\n  \"isAvailabe\": true,\r\n  \"resturnat\": \"698883868ce34d9880c7dcba\", \r\n  \"rating\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/create","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"89772ae3-7290-411f-9e06-5327bbfc7e05"},{"name":"GET ALL FOOD","id":"e66142d2-f0a3-486d-8bec-be5730b51f53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/food/getAll","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","getAll"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e66142d2-f0a3-486d-8bec-be5730b51f53"},{"name":"UPDATE FOOD","id":"e098896e-dc59-42b5-bf2a-063a6e0a3260","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Updated Paneer Tikka\",\r\n  \"price\": 280,\r\n  \"isAvailabe\": true,\r\n  \"description\": \"Updated rich and spicy grilled paneer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/update/69889a1b8ce34d9880c7dcc7","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","update","69889a1b8ce34d9880c7dcc7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e098896e-dc59-42b5-bf2a-063a6e0a3260"},{"name":"DELETE FOOD","id":"13bc0c63-60a9-4d9f-aefd-65cea4e903d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/food/delete/69889a1b8ce34d9880c7dcc7","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","delete","69889a1b8ce34d9880c7dcc7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"13bc0c63-60a9-4d9f-aefd-65cea4e903d4"},{"name":"GET SINGLE FOOD","id":"7d8fb6d5-fd32-4bba-8505-406349f2ec2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/food/get/69889a1b8ce34d9880c7dcc7","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","get","69889a1b8ce34d9880c7dcc7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d8fb6d5-fd32-4bba-8505-406349f2ec2d"},{"name":"GET BY RESTURANT ID","id":"f0286e5c-5631-4cc5-80b3-cc49def6f4e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/food/getByResturant/698883868ce34d9880c7dcba","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","getByResturant","698883868ce34d9880c7dcba"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0286e5c-5631-4cc5-80b3-cc49def6f4e3"}],"id":"f4501a72-e5cd-41e8-a3ea-88f44b126e35","_postman_id":"f4501a72-e5cd-41e8-a3ea-88f44b126e35","description":""},{"name":"ORDERS","item":[{"name":"PLACE ORDER","id":"6aed0b30-9d60-45b3-9a3c-7b4a06849abc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": \"698882378ce34d9880c7dcb0\", \r\n  \"cart\": [\r\n    \"69889a1b8ce34d9880c7dcc7\" \r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/placeorder","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","placeorder"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6aed0b30-9d60-45b3-9a3c-7b4a06849abc"},{"name":"ORDER STATUS","id":"dd158219-ecf1-42b1-96a7-5d0d29b2ec6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"status\": \"Delivered\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/food/orderStatus/69889d9a8ce34d9880c7dcd0","urlObject":{"protocol":"http","port":"8080","path":["api","v1","food","orderStatus","69889d9a8ce34d9880c7dcd0"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd158219-ecf1-42b1-96a7-5d0d29b2ec6a"}],"id":"26ee2526-4b19-42e4-b8e8-d884d2c9a580","_postman_id":"26ee2526-4b19-42e4-b8e8-d884d2c9a580","description":""}]}