{"info":{"_postman_id":"7b1117ef-a3d5-402f-abe2-25d9d8419838","name":"Goals App API","description":"<html><head></head><body><p>A basic RestAPI where a particular user can create an store as many goals as possible and track his/her progress daily.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14623339","collectionId":"7b1117ef-a3d5-402f-abe2-25d9d8419838","publishedId":"Uz5FLHDi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-02T13:17:48.000Z"},"item":[{"name":"Goal","item":[{"name":"Get all goals","id":"b82062b3-08ee-4fda-a538-0d199172286d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/goals","description":"<p>The work of this route is to fetch all the goals created by a particular user. In order to use this route, the user must be <strong>logged in.</strong></p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","goals"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b82062b3-08ee-4fda-a538-0d199172286d"},{"name":"Create a goal","id":"47c652bb-c401-4b5c-bca5-0ceb787786b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"text","value":"my sixth goal","type":"text"}]},"url":"http://localhost:5000/api/goals","description":"<p>StartFragment</p>\n<p>The work of this route is to let user create a goal. In order to use this route, the user must be <strong>logged in.</strong></p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","goals"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"47c652bb-c401-4b5c-bca5-0ceb787786b2"},{"name":"Update a goal","id":"eac9126f-0f7f-4472-a897-b0add419ac7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"text","value":"my second goal completed","type":"text"}]},"url":"http://localhost:5000/api/goals/goal_id","description":"<p>StartFragment</p>\n<p>The work of this route is to let user update a particular goal. In order to use this route, the user must be <strong>logged in.</strong></p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","goals","goal_id"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eac9126f-0f7f-4472-a897-b0add419ac7e"},{"name":"Delete a goal","id":"76b2ce16-8dc6-4770-9a25-268fa06abca0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:5000/api/goals/goal_id","description":"<p>StartFragment</p>\n<p>The work of this route is to let user delete a particular goal. In order to use this route, the user must be <strong>logged in.</strong></p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","goals","goal_id"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"76b2ce16-8dc6-4770-9a25-268fa06abca0"}],"id":"047641fc-0189-4aec-aa02-f6f449a74f7d","description":"<p>This section contains all the routes related to <em><strong>Goals</strong></em></p>\n","_postman_id":"047641fc-0189-4aec-aa02-f6f449a74f7d"},{"name":"User","item":[{"name":"Register User","id":"360f0cb7-4f9e-4826-a1c9-22fd510434c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Somthree Choudhury","type":"text"},{"key":"email","value":"somthree@gmail.com","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"http://localhost:5000/api/users","description":"<p>The work of this route is to let user create an account in Notes App.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"360f0cb7-4f9e-4826-a1c9-22fd510434c0"},{"name":"Login User","id":"51b68554-b114-4a5a-9c24-831dd41b94f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"somtwo@gmail.com","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"http://localhost:5000/api/users/login","description":"<p>StartFragment</p>\n<p>The work of this route is to let user login into his/her an account in Notes App.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","users","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"51b68554-b114-4a5a-9c24-831dd41b94f5"},{"name":"Get User/Me","id":"29b0fe46-225a-4581-984d-6c61ea0364a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/users/me","description":"<p>StartFragment</p>\n<p>The work of this route is to let user get the info he/she has filled while creating the account in Notes App.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","users","me"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"29b0fe46-225a-4581-984d-6c61ea0364a3"}],"id":"2bd4f8d3-f268-4749-9f7c-2102ba236cfd","description":"<p>StartFragment</p>\n<p>This section contains all the routes related to <em><strong>Users</strong></em></p>\n<p>EndFragment</p>\n","_postman_id":"2bd4f8d3-f268-4749-9f7c-2102ba236cfd"}]}