{"info":{"_postman_id":"1d15b999-6fba-4e7d-a4a6-192a4434d0ea","name":"mama_recipe deployment","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"21471690","collectionId":"1d15b999-6fba-4e7d-a4a6-192a4434d0ea","publishedId":"VV51taEf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-06T14:17:49.000Z"},"item":[{"name":"user","item":[{"name":"get all users","id":"2f56febc-b910-4738-aaba-f7cdad82ff30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","type":"text","disabled":true},{"key":"name","value":"","type":"text","disabled":true},{"key":"email","value":"","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/users","description":"<p>Get all users by id order by desc</p>\n","urlObject":{"path":["users"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f56febc-b910-4738-aaba-f7cdad82ff30"},{"name":"get user detail by id","id":"ddecd84e-65cb-42a0-bf90-59695662dbe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"3","type":"text","disabled":true},{"key":"name","value":"Rezha Riansyah R.","type":"text","disabled":true},{"key":"email","value":"rezharians@gmail.com","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/users/2","urlObject":{"path":["users","2"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddecd84e-65cb-42a0-bf90-59695662dbe9"},{"name":"get user by email","id":"9bca815b-9207-49ad-9b68-6477044b48bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"rezharians@gmail.com","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/users/find/email","description":"<p>search users by email with flexible char location</p>\n","urlObject":{"path":["users","find","email"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bca815b-9207-49ad-9b68-6477044b48bf"},{"name":"get user recipe","id":"97d498b3-f593-419b-97a8-7672675a2dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"107","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/users/find/recipe/2","urlObject":{"path":["users","find","recipe","2"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"97d498b3-f593-419b-97a8-7672675a2dcc"},{"name":"Delete user by id","id":"2ba6093a-5f8c-40f9-98b0-2a530c37f424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/users/2","urlObject":{"path":["users","2"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ba6093a-5f8c-40f9-98b0-2a530c37f424"},{"name":"Edit user","id":"09eba21b-2f01-4240-9654-9fd572757af6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"161","type":"text","disabled":true},{"key":"name","value":"Rezha Riansyah","type":"text"},{"key":"email","value":"rezha@gmail.com","type":"text"},{"key":"phoneNumber","value":"08123123123","type":"text"},{"key":"password","value":"12345","type":"text"},{"key":"imageProfile","value":"https://res.cloudinary.com/dll4afml9/image/upload/v1660204467/cheff_o1abgc.png","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/users/2","urlObject":{"path":["users","2"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"09eba21b-2f01-4240-9654-9fd572757af6"}],"id":"34fd3793-6d0d-4b99-bedb-44171eea8a7e","_postman_id":"34fd3793-6d0d-4b99-bedb-44171eea8a7e","description":""},{"name":"food recipe","item":[{"name":"get all recipes","id":"39ac723f-501c-4d19-8d05-2ad1b9353e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/recipes","urlObject":{"path":["recipes"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"39ac723f-501c-4d19-8d05-2ad1b9353e35"},{"name":"get popular","id":"a92368c8-afc6-44c2-a193-61cbf16b7db1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mama-food-recipe.herokuapp.com/recipes/popular","urlObject":{"path":["recipes","popular"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a92368c8-afc6-44c2-a193-61cbf16b7db1"},{"name":"get recipe name","id":"ed900194-5937-4949-88c3-f11716ae0176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"beef","type":"text"},{"key":"ingredients","value":"","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/find/name","urlObject":{"path":["recipes","find","name"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed900194-5937-4949-88c3-f11716ae0176"},{"name":"get 6 recent recipe","id":"4e9a2588-c86a-49bb-a1c6-c4b960750780","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/recipes/find/recent","urlObject":{"path":["recipes","find","recent"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e9a2588-c86a-49bb-a1c6-c4b960750780"},{"name":"Delete Recipe by id","id":"51bfd149-8e16-4bea-817f-06d827e232cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/recipes/68","urlObject":{"path":["recipes","68"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51bfd149-8e16-4bea-817f-06d827e232cc"},{"name":"get recipe detail","id":"95784e3c-0c4b-40b8-b0e5-550b7fa9e152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mama-food-recipe.herokuapp.com/recipes/12","urlObject":{"path":["recipes","12"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"95784e3c-0c4b-40b8-b0e5-550b7fa9e152"},{"name":"edit recipe","id":"bf7860d7-02a2-47fb-94eb-97328bb9e12d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"Es baru editedsfsdf","type":"text"},{"key":"ingredients","value":"Gula, Air, Es batu","type":"text"},{"key":"foodVideo","value":"link","type":"text"},{"key":"foodImage","value":"link","type":"text"},{"key":"","value":"4","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/23","urlObject":{"path":["recipes","23"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf7860d7-02a2-47fb-94eb-97328bb9e12d"},{"name":"get video by recipe","id":"b9ede47f-4956-460d-b2c7-9afcaaea20cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/recipes/video/12","urlObject":{"path":["recipes","video","12"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9ede47f-4956-460d-b2c7-9afcaaea20cb"},{"name":"add Video Recipe","id":"0f0311ee-2838-424e-b037-2b94864e809c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_recipe","value":"12","type":"text"},{"key":"id_user","value":"1","type":"text"},{"key":"video_link","value":"https://www.youtube.com/watch?v=LhX_eeezJFk","type":"text"},{"key":"video_desc","value":"Persiapan alat memasak","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/video/add","urlObject":{"path":["recipes","video","add"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f0311ee-2838-424e-b037-2b94864e809c"},{"name":"get like recipe by user","id":"09a43ca3-b5fa-4bc3-9837-72999e76e300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mama-food-recipe.herokuapp.com/recipes/like/1","urlObject":{"path":["recipes","like","1"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"09a43ca3-b5fa-4bc3-9837-72999e76e300"},{"name":"get save recipe by user","id":"bce49bbe-3672-45be-b7a7-a220ebed1e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mama-food-recipe.herokuapp.com/recipes/save/148","urlObject":{"path":["recipes","save","148"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bce49bbe-3672-45be-b7a7-a220ebed1e01"},{"name":"like recipe","id":"8d585ff8-3ead-4e07-8edd-746de44442ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_user","value":"1","type":"text"},{"key":"id_recipe","value":"12","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/like","urlObject":{"path":["recipes","like"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d585ff8-3ead-4e07-8edd-746de44442ee"},{"name":"dislike recipe","id":"90ec4a04-7032-4bcc-8689-429cd1b99196","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_user","value":"","type":"text"},{"key":"id_recipe","value":"","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/dislike/14","urlObject":{"path":["recipes","dislike","14"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90ec4a04-7032-4bcc-8689-429cd1b99196"},{"name":"save recipe","id":"5e06ef34-fea3-48b0-87ec-35bace330670","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_user","value":"147","type":"text"},{"key":"id_recipe","value":"73","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/save","urlObject":{"path":["recipes","save"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e06ef34-fea3-48b0-87ec-35bace330670"},{"name":"unsave recipe","id":"5686e32f-8d42-47d8-bc92-2a44ed7bf63f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_user","value":"","type":"text"},{"key":"id_recipe","value":"","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/unsave/73","urlObject":{"path":["recipes","unsave","73"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5686e32f-8d42-47d8-bc92-2a44ed7bf63f"},{"name":"my recipe","id":"78a04a95-867e-4410-808e-254763190981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://mama-food-recipe.herokuapp.com/recipes/my/recipe/1","urlObject":{"path":["recipes","my","recipe","1"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"78a04a95-867e-4410-808e-254763190981"},{"name":"my liked recipe","id":"1e2747f0-7ee4-4b37-8df5-5d2323dd08fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://mama-food-recipe.herokuapp.com/recipes/like/1","urlObject":{"path":["recipes","like","1"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e2747f0-7ee4-4b37-8df5-5d2323dd08fa"},{"name":"add recipe","id":"ff4fafe5-b25f-4eaf-a71a-031c62a3eda5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"foodImage","type":"file","src":"/Users/rezhariansyah/Downloads/food-dummy-data/beef-burrito.webp"},{"key":"title","value":"Beef Burritos","type":"text"},{"key":"ingredients","value":"2 tbsp sunflower oil\n1 onion, finely chopped\n4 garlic cloves, very finely chopped\n1 tbsp ground cumin\n1 tbsp ground coriander\nsmall pinch of cayenne pepper (more if you want it spicier)\n1 tsp dried oregano\n500g beef mince\npinch of golden caster sugar","type":"text"},{"key":"id_user","value":"1","type":"text"},{"key":"id_category","value":"3","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/recipes/add","urlObject":{"path":["recipes","add"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"ff4fafe5-b25f-4eaf-a71a-031c62a3eda5"}],"id":"074fa1cf-c436-41b5-87ec-91bc397ec12a","_postman_id":"074fa1cf-c436-41b5-87ec-91bc397ec12a","description":""},{"name":"comment","item":[{"name":"get all comment by recipe","id":"85366cf3-ee1b-4aa5-809d-efe5d70cc695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"50","type":"text","disabled":true}]},"url":"https://mama-food-recipe.herokuapp.com/comments/recipe/12","urlObject":{"path":["comments","recipe","12"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[{"disabled":true,"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"85366cf3-ee1b-4aa5-809d-efe5d70cc695"},{"name":"add comment by user","id":"e8f52881-b3ed-40e1-9b7d-1b4724105fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"comment","value":"Enak banget","type":"text"},{"key":"idRecipe","value":"12","type":"text"},{"key":"idUser","value":"2","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/comments/add","urlObject":{"path":["comments","add"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[{"disabled":true,"key":"comment","value":"Tiap hari gue beli terosss"},{"disabled":true,"key":"idRecipe","value":"34"},{"disabled":true,"key":"idUser","value":"32"}],"variable":[]}},"response":[],"_postman_id":"e8f52881-b3ed-40e1-9b7d-1b4724105fbd"}],"id":"7efcf1c4-a072-497f-9578-3f6e0228e5f3","_postman_id":"7efcf1c4-a072-497f-9578-3f6e0228e5f3","description":""},{"name":"auth","item":[{"name":"register","id":"e3b7ce2c-6e7a-4daa-ab85-d0c9a2dae1c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"User Test","type":"text"},{"key":"email","value":"usertest@gmail.com","type":"text"},{"key":"phoneNumber","value":"081317083273","type":"text"},{"key":"password","value":"12345","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/auth/register","urlObject":{"path":["auth","register"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3b7ce2c-6e7a-4daa-ab85-d0c9a2dae1c0"},{"name":"login","id":"4ccb2207-4cf8-4717-a8ba-149d2f0f9b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"newuser@gmail","type":"text"},{"key":"password","value":"12345","type":"text"}]},"url":"https://mama-food-recipe.herokuapp.com/auth/login","urlObject":{"path":["auth","login"],"host":["https://mama-food-recipe.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ccb2207-4cf8-4717-a8ba-149d2f0f9b34"}],"id":"13cd23aa-c343-4e9d-b370-4cbe233c63f0","_postman_id":"13cd23aa-c343-4e9d-b370-4cbe233c63f0","description":""}],"event":[{"listen":"prerequest","script":{"id":"febb74c9-a380-4179-ab99-62da8f9ca0f1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5e5edc48-6b91-4a47-8fd1-ed9c11be7271","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseURL","value":"https://mama-food-recipe.herokuapp.com","type":"string"}]}