{"info":{"_postman_id":"8a0c7428-becf-4ba9-ae09-5820579f5cb2","name":"Food Recipe","description":"<html><head></head><body><p>Welcome to the Food Recipe API documentation! This API is designed to provide developers with easy access to a vast collection of delicious and diverse recipes, user authentication for our website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30079177","collectionId":"8a0c7428-becf-4ba9-ae09-5820579f5cb2","publishedId":"2s9YkodgjS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-19T13:28:24.000Z"},"item":[{"name":"Users","item":[{"name":"Get all users","id":"b898f3e3-1f0c-4576-965e-585cb437f4ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//users","description":"<p>This API is used to retrieve data for all users registered on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"b898f3e3-1f0c-4576-965e-585cb437f4ef"},{"name":"Register","id":"40a76a52-4ee9-4123-afbe-85d96038fdfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"yongki\",\r\n    \"email\": \"yongkiii@gmail.com\",\r\n    \"phone_number\": \"081225733651\",\r\n    \"password\": \"pijarcamp\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pijar-food-be-fawn.vercel.app//users/register","description":"<p>This API is for registering a new account on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users","register"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"40a76a52-4ee9-4123-afbe-85d96038fdfe"},{"name":"Login","id":"c4989e24-916c-406f-a0e3-b44962b75912","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"yongkiii@gmail.com\",\r\n    \"password\": \"pijarcamp\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pijar-food-be-fawn.vercel.app//users/login","description":"<p>This API is for login into an account that has already been registered on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users","login"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4989e24-916c-406f-a0e3-b44962b75912"},{"name":"User detail","id":"511e4ec7-3d64-4332-b3b9-d3b597c9e2ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//users/me","description":"<p>This API is used to retrieve data from users who have login in to the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users","me"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"511e4ec7-3d64-4332-b3b9-d3b597c9e2ac"},{"name":"Edit User Profile","id":"65dc6180-5acc-42f8-a315-8dbedeea22f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"yongki ajah\",\r\n    \"email\": \"yongkisatrias@gmail.com\",\r\n    \"phone_number\": \"081225733651\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pijar-food-be-fawn.vercel.app//users/edit","description":"<p>This API is used to edit data for users who have login in on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users","edit"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"65dc6180-5acc-42f8-a315-8dbedeea22f8"},{"name":"Edit Photo","id":"2175e4dd-f358-40e6-a617-d9b3b035d4df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"photo_profile","type":"file","src":"/C:/Users/DELL/Pictures/not-found.png"}]},"url":"https://pijar-food-be-fawn.vercel.app//users/edit/photo","description":"<p>This API is used to edit the profile picture data of users who have logged in to the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["users","edit","photo"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"2175e4dd-f358-40e6-a617-d9b3b035d4df"}],"id":"e0a846dd-139b-4ddd-9b8d-fa0b1c482a97","description":"<p>This folder contains various API endpoints, including get all user, register, login, user detail, edit user profile, and edit photo.</p>\n","_postman_id":"e0a846dd-139b-4ddd-9b8d-fa0b1c482a97"},{"name":"Get all recipe","id":"c47c7603-f254-4351-b7b3-293dd3787605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//recipe","description":"<p>This API is used to display all registered recipes data on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app.</a></p>\n","urlObject":{"path":["recipe"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"c47c7603-f254-4351-b7b3-293dd3787605"},{"name":"Get detail recipe","id":"42f3417e-e2a6-469c-b517-3ac64e43cd99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//recipe/1","description":"<p>This API is used to display details of selected recipes that are already registered on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a></p>\n","urlObject":{"path":["recipe","1"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"42f3417e-e2a6-469c-b517-3ac64e43cd99"},{"name":"Get latest recipe","id":"cbd53d3e-497e-4bda-8ae5-9113bc2fd6df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//latestrecipe","description":"<p>This API is used to display all recipes and is sorted by the latest recipe registered on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["latestrecipe"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbd53d3e-497e-4bda-8ae5-9113bc2fd6df"},{"name":"Get new recipe","id":"ac764847-0b78-4780-8cfe-142f62676b9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pijar-food-be-fawn.vercel.app//newrecipe","description":"<p>This API is used to display a recipe from the latest recipes whose data is registered on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["newrecipe"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac764847-0b78-4780-8cfe-142f62676b9a"},{"name":"Upload recipe","id":"9d47c47c-b78b-4fdc-bf9f-c69cd049a0d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Nasi Goreng Merah\",\r\n    \"ingridients\": \"650 gr nasi putih, 100 gr hati ayam, rebus, 70 gr kekian, 5 buah bakso sapi, 2 butir telur, 4 sdm saus tomat merah, 2 sdt kecap ikan, 1 sdm saus raja rasa, 1 sdm saus tiram, ½ sdm kecap manis, 3 tetes pewarna merah, 1 batang daun bawang, 1 sdm margarin, 8 siung bawang putih, 8 siung bawang merah, 1 sdt garam, ¼ sdt merica, ½ sdm gula pasir, ½ sdt penyedap, timun, jeruk nipis, sambal rawit\",\r\n    \"image\": \"https://i.ytimg.com/vi/-Fm5NEv-m9U/maxresdefault.jpg\",\r\n    \"video_url\": \"https://www.youtube.com/watch?v=-Fm5NEv-m9U\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pijar-food-be-fawn.vercel.app//recipe","description":"<p>This API is used to add a new recipe on the website <a href=\"https://pijar-food-team-b.vercel.app/\">https://pijar-food-team-b.vercel.app</a>.</p>\n","urlObject":{"path":["recipe"],"host":["https://pijar-food-be-fawn.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d47c47c-b78b-4fdc-bf9f-c69cd049a0d8"}],"event":[{"listen":"prerequest","script":{"id":"49507c19-ac60-4d65-bb7e-1995ce1f5b11","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0ef980fa-c382-4b85-9994-504967c387cc","type":"text/javascript","exec":[""]}}],"variable":[{"key":"production","value":"https://pijar-food-be-fawn.vercel.app/","type":"string"},{"key":"local","value":"http://localhost:3000/","type":"string"}]}