{"info":{"_postman_id":"c85a6066-f0bc-4935-8b58-7cd9de109187","name":"focus_fuze","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39189384","collectionId":"c85a6066-f0bc-4935-8b58-7cd9de109187","publishedId":"2sAYXCmeic","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-14T05:02:36.000Z"},"item":[{"name":"Personal Goals","item":[{"name":"get_all_goals","id":"fd94f33c-c259-401c-ba69-26c2185eee59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/personal-goals","description":"<p>Retrieve all personal goals for the user.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["personal-goals"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd94f33c-c259-401c-ba69-26c2185eee59"},{"name":"post_new_goal","id":"3406ea13-aca3-4798-9c9b-c064bfb53152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Complete MongoDb Theory\",\r\n    \"description\": \"crud operations\",\r\n    \"deadline\": \"2025-04-15T23:59:59Z\",\r\n    \"priority\": \"High\",\r\n    \"rewardPoints\": 300,\r\n    \"status\": \"Not Started\",\r\n    \"userId\": \"userId9876\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"https://focus-fuze.onrender.com/personal-goals","description":"<p>Create a new personal goal for a user.</p>\n","urlObject":{"protocol":"https","path":["personal-goals"],"host":["focus-fuze","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3406ea13-aca3-4798-9c9b-c064bfb53152"},{"name":"updating_goal","id":"a90479ae-7589-4132-ad42-c6b174af3b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"  {\r\n    \"rewardPoints\": 500\r\n  }","options":{"raw":{"language":"json"}}},"url":"https://focus-fuze.onrender.com/personal-goals/_id/:_oid","description":"<p><strong>Path Variables:</strong><br /><code>_oid</code> - Goal ID to be updated.</p>\n<p><strong>Description:</strong><br />Update the details of a specific personal goal (e.g., updating reward points).</p>\n","urlObject":{"protocol":"https","path":["personal-goals","_id",":_oid"],"host":["focus-fuze","onrender","com"],"query":[],"variable":[{"type":"any","value":"679e4323f7ca959ab3dedb26","key":"_oid"}]}},"response":[],"_postman_id":"a90479ae-7589-4132-ad42-c6b174af3b98"},{"name":"delete_goal","id":"e306627e-7e34-4ef1-8042-ec36003024c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://focus-fuze.onrender.com/personal-goals/_id/:_oid","description":"<p><strong>Endpoint:</strong><br />DELETE <code>https://focus-fuze.onrender.com/personal-goals/_id/:_oid</code></p>\n<p><strong>Path Variables:</strong><br /><code>_oid</code> - Goal ID to be deleted.</p>\n<p><strong>Description:</strong><br />Delete a personal goal by ID.</p>\n","urlObject":{"protocol":"https","path":["personal-goals","_id",":_oid"],"host":["focus-fuze","onrender","com"],"query":[],"variable":[{"type":"any","value":"679e405df7ca959ab3dedb25","key":"_oid"}]}},"response":[],"_postman_id":"e306627e-7e34-4ef1-8042-ec36003024c0"}],"id":"5c3e9eb6-48aa-4747-bcaf-3c370418412e","_postman_id":"5c3e9eb6-48aa-4747-bcaf-3c370418412e","description":""},{"name":"Authentication","item":[{"name":"user_exist_register","id":"e2298cd1-d648-49d3-8d66-c53e486e698b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"mahir\",\r\n  \"email\": \"mahir@example.com\",\r\n  \"password\": \"mahir123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:6000/auth/register","description":"<p><strong>Description:</strong><br />Register a new user with full name, username, password, and confirm password.</p>\n","urlObject":{"protocol":"http","port":"6000","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2298cd1-d648-49d3-8d66-c53e486e698b"},{"name":"Login_user","id":"d9aaa18f-0ff6-49dd-9620-52a0b7aab01a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"mahir@example.com\",\r\n  \"password\": \"mahir123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://focus-fuze.onrender.com/auth/login","description":"<p><strong>Description:</strong><br />Login with the user's credentials (username &amp; password).</p>\n","urlObject":{"protocol":"https","path":["auth","login"],"host":["focus-fuze","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9aaa18f-0ff6-49dd-9620-52a0b7aab01a"},{"name":"New Request","id":"ceada8d4-2e9f-42a4-8891-ddd4c2c0c789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ceada8d4-2e9f-42a4-8891-ddd4c2c0c789"}],"id":"085fd9f5-2cef-4b02-939d-8f2add5d8892","_postman_id":"085fd9f5-2cef-4b02-939d-8f2add5d8892","description":""},{"name":"Calendar","item":[{"name":"Calendar","id":"85ffc470-0640-4d53-b113-4fef3c764e19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"user123\",\r\n  \"title\": \"Meeting with John\",\r\n  \"date\": \"2025-02-15T10:00:00Z\",\r\n  \"description\": \"Discuss project updates\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/calendar","description":"<p><strong>Path Variables:</strong><br /><code>date</code> - The date (in <code>YYYY-MM-DD</code> format) for which to get calendar data.</p>\n<p><strong>Description:</strong><br />Retrieve calendar events or tasks for a specific date.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["calendar"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"85ffc470-0640-4d53-b113-4fef3c764e19"},{"name":"get_schedule","id":"6dc85477-40c0-4e31-b950-d46e7957477b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/calendar/:userId","description":"<p>Get users Schedule on Calendar</p>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>GET /calendar/:userId</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:3000/calendar/:userId</code></p>\n<ul>\n<li>Replace <code>:userId</code> with an actual user ID (e.g., <code>user123</code>).</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["calendar",":userId"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"6dc85477-40c0-4e31-b950-d46e7957477b"},{"name":"delete_schedule","id":"1a755483-15fc-49b9-85d5-eabfe84f9fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/calendar/:userId","description":"<p>Delete an event or schedule.</p>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>DELETE /calendar/:eventId</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:YOUR_PORT_HERE/calendar/:eventId</code></p>\n<ul>\n<li>Replace <code>:eventId</code> with the ObjectId of the event you want to delete.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["calendar",":userId"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"67aec88ab0e724cd23743c46","key":"userId"}]}},"response":[],"_postman_id":"1a755483-15fc-49b9-85d5-eabfe84f9fdf"}],"id":"845b835a-bb64-45dd-9bf3-be6d541991af","_postman_id":"845b835a-bb64-45dd-9bf3-be6d541991af","description":""},{"name":"Notes","item":[{"name":"create_notes","id":"b678e7ca-6bac-458b-bd81-7cabdca33790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"67aec168b0e724cd23743c42\",\r\n  \"title\": \"Meeting Notes\",\r\n  \"content\": \"Discussion about project timeline and goals\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/notes","description":"<p>Create Notes.</p>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>POST /notes</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:YOUR_PORT_HERE/notes</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["notes"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b678e7ca-6bac-458b-bd81-7cabdca33790"},{"name":"get_allnotes","id":"a99ee902-5a40-4ee2-8507-82ee9c03ed64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/notes/:userId","description":"<p>Get all the Notes.</p>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>GET /notes/:userId</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:YOUR_PORT_HERE/notes/:userId</code></p>\n<ul>\n<li>Replace <code>:userId</code> with an actual user ID (e.g., <code>user123</code>).</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["notes",":userId"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"user123","key":"userId"}]}},"response":[],"_postman_id":"a99ee902-5a40-4ee2-8507-82ee9c03ed64"},{"name":"edit_note","id":"abcc412b-0733-499e-abc6-a3e87e190488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Updated Meeting Notes\",\r\n  \"content\": \"Discussion about project deadlines and responsibilities\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/notes/:noteId","description":"<p>edit a note</p>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>PUT /notes/:noteId</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:YOUR_PORT_HERE/notes/:noteId</code></p>\n<ul>\n<li>Replace <code>:noteId</code> with the ObjectId of the note you want to update.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["notes",":noteId"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"67aecb324d177758823d421d","key":"noteId"}]}},"response":[],"_postman_id":"abcc412b-0733-499e-abc6-a3e87e190488"},{"name":"delete_note","id":"0f79837e-1ad9-4ba6-893d-d67feaef5aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/notes/:noteId","description":"<p>delete a note</p>\n<h4 id=\"delete-a-note-delete-request\"><strong>Delete a Note (DELETE request)</strong></h4>\n<ul>\n<li><p><strong>Endpoint:</strong> <code>DELETE /notes/:noteId</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:YOUR_PORT_HERE/notes/:noteId</code></p>\n<ul>\n<li>Replace <code>:noteId</code> with the ObjectId of the note you want to delete.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"3000","path":["notes",":noteId"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"67aecb324d177758823d421d","key":"noteId"}]}},"response":[],"_postman_id":"0f79837e-1ad9-4ba6-893d-d67feaef5aed"}],"id":"e398ebfb-4a1f-4bfb-82e2-7e3059db24b0","_postman_id":"e398ebfb-4a1f-4bfb-82e2-7e3059db24b0","description":""},{"name":"Dashboard","item":[{"name":"New Request","id":"6c2742ed-4712-4233-b448-d764e554f4c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6c2742ed-4712-4233-b448-d764e554f4c9"}],"id":"633005b3-9db9-42a7-aeee-f4fa38de4186","_postman_id":"633005b3-9db9-42a7-aeee-f4fa38de4186","description":""},{"name":"New Folder","item":[{"name":"get_videos","id":"5b055860-755b-4f83-92d3-ed9012133000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/videos/saved","urlObject":{"protocol":"http","port":"3000","path":["api","videos","saved"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b055860-755b-4f83-92d3-ed9012133000"}],"id":"c9ac0426-4482-4d23-97a3-67fe8d3445ed","_postman_id":"c9ac0426-4482-4d23-97a3-67fe8d3445ed","description":""}]}