{"info":{"_postman_id":"d0208195-629a-41eb-b25f-a4204d88c3aa","name":"Food Delivery API","description":"<html><head></head><body><p>An API where the user after authenticating himself/herself will be able to order dishes from the restaurant of his/her choice.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14623339","collectionId":"d0208195-629a-41eb-b25f-a4204d88c3aa","publishedId":"2s93zFXKXo","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-06T11:02:44.000Z"},"item":[{"name":"Authentication","item":[{"name":"Register User","id":"c50d7136-c526-48d8-94ce-15f954de703c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullName\" : \"Somenath Obe\",\r\n    \"email\" : \"somone@gmail.com\",\r\n    \"address\": \"address of somone\",\r\n    \"phoneNumber\" : \"1234567890\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/register","description":"<p>This route is used by a new user to register for a new account.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c50d7136-c526-48d8-94ce-15f954de703c"},{"name":"Login User","id":"253b2657-e796-4b2d-b689-a48d2b023f11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"somone@gmail.com\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/login","description":"<p>This route is used by an existing user to login into his/her existing account.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"253b2657-e796-4b2d-b689-a48d2b023f11"},{"name":"Forget Password","id":"5049a5c5-b43b-4357-88af-b7fe2fd3db9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"somone@gmail.com\",\r\n    \"phoneNumber\": \"1234567890\",\r\n    \"password\": \"1234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/forget-password","description":"<p>This route is used by a user to reset his/her password.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["forget-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5049a5c5-b43b-4357-88af-b7fe2fd3db9f"},{"name":"Admin Login","id":"31f99f3a-a4f3-45ca-bdfa-67cd2cf19173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"admin@gmail.com\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/login","description":"<p>This route is only for the admin of the project to login.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"31f99f3a-a4f3-45ca-bdfa-67cd2cf19173"},{"name":"Get all Orders given by a User","id":"f55bf92c-60d1-42d2-8a63-ecd761009391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NGFlNTcwYjQxZDljOWJhN2U2ODA1MzMiLCJpYXQiOjE2ODkxNDcyODMsImV4cCI6MTY4OTQwNjQ4M30.IRxs69RKDYgXMEHjhP9xauZh26ecIQCjIReM41AUXOA","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:5000/get-all-orders-of-the-auth-user","urlObject":{"protocol":"http","port":"5000","path":["get-all-orders-of-the-auth-user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f55bf92c-60d1-42d2-8a63-ecd761009391"}],"id":"c599e411-64ce-4b91-a125-55d07e85c2ce","description":"<p>This section is all about autheticating the user.</p>\n","_postman_id":"c599e411-64ce-4b91-a125-55d07e85c2ce"},{"name":"Restuarant","item":[{"name":"Get all Restuarants","id":"bce9fe8b-e832-4568-95e8-9f6dc21cc9f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/disp-all-restuarants","description":"<p>This route is used to get all available restuarants.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["disp-all-restuarants"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bce9fe8b-e832-4568-95e8-9f6dc21cc9f0"},{"name":"Get Particular Restuarant","id":"f9adf26f-937a-4e82-8d24-d7654c3d8dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/get-particular-restuarant/64a6808813cfcbab8a4d1ed6","description":"<p>This route is used to get a particular restuarant by its ID.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["get-particular-restuarant","64a6808813cfcbab8a4d1ed6"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9adf26f-937a-4e82-8d24-d7654c3d8dd5"},{"name":"Add Restuarant and Menu","id":"a66f311a-4db1-4999-ad98-b06418bdcc9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NGFlNTZlMzQxZDljOWJhN2U2ODA1MzAiLCJpYXQiOjE2ODkxNDcyMzcsImV4cCI6MTY4OTQwNjQzN30.97LK55BXwTTMpP6qhJQHCQdr2WY2o5-nJKF2cLTdies","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"restuarantName\": \"Restuarant One\",\r\n    \"restuarantAddress\": \"Address One\",\r\n    \"restuarantMenu\": [\"Fish\", \"Dal\", \"Curry\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/add-restuarant-and-menu","description":"<p>This is a route which can only be accessed by the admin. This route is used to add a new restuarant and all its available dishes.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["add-restuarant-and-menu"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a66f311a-4db1-4999-ad98-b06418bdcc9b"}],"id":"a1a5f4ec-9164-4747-89e4-ed6443c4a857","description":"<p>This section is all about the Restuarant.</p>\n","_postman_id":"a1a5f4ec-9164-4747-89e4-ed6443c4a857"},{"name":"Order","item":[{"name":"Place Order","id":"ef355d80-8210-4b3a-8f8a-aa1e40120b32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NGFlNTcwYjQxZDljOWJhN2U2ODA1MzMiLCJpYXQiOjE2ODkxNDcyODMsImV4cCI6MTY4OTQwNjQ4M30.IRxs69RKDYgXMEHjhP9xauZh26ecIQCjIReM41AUXOA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"restuarantName\" : \"Restuarant One\",\r\n    \"menuSelectedByUser\": [\"Dal\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/take-order","description":"<p>This route is about placing order by the user from a particular restuarant.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["take-order"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef355d80-8210-4b3a-8f8a-aa1e40120b32"}],"id":"40f083f1-38b4-428f-aafe-222f5044a273","description":"<p>This section is about placing the order by the user.</p>\n","_postman_id":"40f083f1-38b4-428f-aafe-222f5044a273"}]}