{"info":{"_postman_id":"4bde012e-1a81-4470-b64b-27cc5bc75979","name":"SHANTO TRAVEL SONGGI","description":"<html><head></head><body><h1 id=\"shanto-travel-songgi\"><strong>Shanto Travel Songgi</strong></h1>\n<p><strong>BACKED PART DEVELOPMENT</strong></p>\n<h5 id=\"key-features\"><b>Key Features:</b></h5>\n<ol>\n<li><p><strong>RESTful API using Express JS with Node JS.</strong></p>\n</li>\n<li><p><strong>TypeScript for type safety.</strong></p>\n</li>\n<li><p><strong>Prisma with PostgreSQL for database maintenance and operation.</strong></p>\n</li>\n<li><p><strong>Secure Authentication using JSON web token and Bcrypt.</strong></p>\n</li>\n<li><p><strong>Photo upload using Multer and Cloudinary.</strong></p>\n</li>\n<li><p><strong>Request body validation using Zod</strong></p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Shanto Travel Songgi","slug":"shanto-travel-songgi"}],"owner":"31226472","collectionId":"4bde012e-1a81-4470-b64b-27cc5bc75979","publishedId":"2sAXqndizK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-12T13:25:15.000Z"},"item":[{"name":"Auth","item":[{"name":"Register User","id":"9ee8fb53-dbdd-4050-836b-aecfc3216cef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"username\": \"Mohammad Farhad\",\n    \"email\": \"mfarhad.attari@gmail.com\",\n    \"password\": \"123456\"\n}","type":"text"},{"key":"file","type":"file","src":"/C:/Users/DevMFarhad/Downloads/download.png"}]},"url":"http://localhost:5000/api/auth/register","description":"<p>This api is use for create or register user account. User can create their account by providing their name, email and a password. User can also upload their avatar or profile photo.</p>\n","urlObject":{"path":["api","auth","register"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"5c046146-6dec-4213-a142-25fb834617bd","name":"Register User","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"username\": \"Mohammad Farhad\",\n    \"email\": \"mfarhad.attari@gmail.com\",\n    \"password\": \"123456\"\n}","type":"text"},{"key":"file","type":"file","src":"/C:/Users/DevMFarhad/Downloads/download.png"}]},"url":"http://localhost:5000/api/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"434"},{"key":"ETag","value":"W/\"1b2-9nS5eITqWgiDE4UEDCrpYiusBkM\""},{"key":"Date","value":"Thu, 12 Sep 2024 11:41:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User registered successfully.\",\n    \"data\": {\n        \"id\": \"790329d9-b0de-4bcb-bc1d-593a3de381b5\",\n        \"email\": \"mfarhad.attari@gmail.com\",\n        \"username\": \"Mohammad Farhad\",\n        \"avatar\": \"https://res.cloudinary.com/djs19qulb/image/upload/v1726141265/Shanto%20Travel%20Songgi/user-avatars/avatar-mfarhad.attari%40gmail.com.png\",\n        \"role\": \"user\",\n        \"status\": \"active\",\n        \"createdAt\": \"2024-09-12T11:41:07.319Z\",\n        \"updatedAt\": \"2024-09-12T11:41:07.319Z\"\n    }\n}"}],"_postman_id":"9ee8fb53-dbdd-4050-836b-aecfc3216cef"},{"name":"Login User","id":"d4db5e4f-ca48-44dd-a15e-25cbe006c0df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"jnshata@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/login","description":"<p>This api is use for login to user account. User can login their account by providing their email and password. If user logged their account successfully they get a access token and a refresh token.</p>\n","urlObject":{"path":["api","auth","login"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"b9817cbe-d2cd-46d5-a402-264321ca2115","name":"Login User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mfarhad.attari@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"ShantoTS-refresh-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc5MDMyOWQ5LWIwZGUtNGJjYi1iYzFkLTU5M2EzZGUzODFiNSIsImVtYWlsIjoibWZhcmhhZC5hdHRhcmlAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM4MTcsImV4cCI6MTcyODczNTgxN30.lL_zf5rLb8PdTwcmADVhUoZUTiOKmkpXLP2g_16l8h8; Path=/; HttpOnly; Secure"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"357"},{"key":"ETag","value":"W/\"165-bqaemdrC7+duVB6qiEfLtWk0A2s\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:23:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User login successfully.\",\n    \"data\": {\n        \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc5MDMyOWQ5LWIwZGUtNGJjYi1iYzFkLTU5M2EzZGUzODFiNSIsImVtYWlsIjoibWZhcmhhZC5hdHRhcmlAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM4MTcsImV4cCI6MTcyNjc0ODYxN30.9Hbjt0FN0N_9rieVDLo0VmpyURNsA7lYqpY5Vsfu10Q\",\n        \"isPasswordChanged\": false\n    }\n}"}],"_postman_id":"d4db5e4f-ca48-44dd-a15e-25cbe006c0df"},{"name":"My Profile","id":"b7606399-fe6e-47c3-81f8-1ce2e8374600","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk0MTVmMzFlLTQ5MWMtNDY0MC1hNTVlLWI4ODE5M2M4MTc3NiIsImVtYWlsIjoibWZhcmhhZEBhZG1pbi5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNjEzNDY0MywiZXhwIjoxNzI2NzM5NDQzfQ.vzU9tyB-v_UO_0diDuT1XZVdp19iDr5pFROA9Fq3_q4","type":"text"}],"url":"http://localhost:5000/api/auth/profile","description":"<p>This api is use to get user profile. It take user access token in Authorization headers. It validate route with user token.</p>\n","urlObject":{"path":["api","auth","profile"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"3a6fdcc2-6c6c-414c-8a08-6126943d2a27","name":"My Profile","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk0MTVmMzFlLTQ5MWMtNDY0MC1hNTVlLWI4ODE5M2M4MTc3NiIsImVtYWlsIjoibWZhcmhhZEBhZG1pbi5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNjEzNDY0MywiZXhwIjoxNzI2NzM5NDQzfQ.vzU9tyB-v_UO_0diDuT1XZVdp19iDr5pFROA9Fq3_q4","type":"text"}],"url":"http://localhost:5000/api/auth/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"ETag","value":"W/\"148-Ho37kmdHbtf8jXBRhlwZ+BE7AV4\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:23:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Profile retrieve successfully.\",\n    \"data\": {\n        \"id\": \"9415f31e-491c-4640-a55e-b88193c81776\",\n        \"username\": \"Mohammad Farhad\",\n        \"email\": \"mfarhad@admin.com\",\n        \"role\": \"user\",\n        \"status\": \"active\",\n        \"isPasswordChanged\": false,\n        \"createdAt\": \"2024-09-12T09:49:55.585Z\",\n        \"updatedAt\": \"2024-09-12T09:49:55.585Z\",\n        \"trip\": [],\n        \"tripReq\": []\n    }\n}"}],"_postman_id":"b7606399-fe6e-47c3-81f8-1ce2e8374600"},{"name":"Update Profile","id":"e08a616c-5216-4f4e-a4ad-03ca46d1b4c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"username\": \"Mohammad Farhad\"\n}","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/DevMFarhad/Downloads/download.png"],"src":"/C:/Users/DevMFarhad/Downloads/download.png"}]},"url":"http://localhost:5000/api/auth/profile","description":"<p>By this api user can update their profile information. It take user access token in authorization headers. By this api user can update their name, email and avatar.</p>\n","urlObject":{"path":["api","auth","profile"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"7b87aa66-c015-468e-af37-b20d4e14a5dc","name":"Update Profile","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"username\": \"Mohammad Farhad\"\n}","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/DevMFarhad/Downloads/download.png"],"src":"/C:/Users/DevMFarhad/Downloads/download.png","disabled":true}]},"url":"http://localhost:5000/api/auth/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"463"},{"key":"ETag","value":"W/\"1cf-SQvOsj7O1nFA3fOMVJh0lvJGOBU\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:24:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Profile updated successfully.\",\n    \"data\": {\n        \"id\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n        \"username\": \"Mohammad Farhad\",\n        \"email\": \"mfarhad.dev@gmail.com\",\n        \"role\": \"user\",\n        \"avatar\": \"https://res.cloudinary.com/djs19qulb/image/upload/v1726134768/Shanto%20Travel%20Songgi/user-avatars/avatar-undefined.png\",\n        \"status\": \"active\",\n        \"isPasswordChanged\": false,\n        \"createdAt\": \"2024-09-11T03:43:52.531Z\",\n        \"updatedAt\": \"2024-09-12T12:24:40.165Z\",\n        \"trip\": [],\n        \"tripReq\": []\n    }\n}"}],"_postman_id":"e08a616c-5216-4f4e-a4ad-03ca46d1b4c3"},{"name":"Change Password","id":"32ff53b6-2c49-49dc-822f-8c13e035e8c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"123456\",\r\n    \"newPassword\": \"987456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/change-password","description":"<p>By using this api user can change their password. User must provide their access token in authroization headers. User must have to provides their old password and new password request body.</p>\n","urlObject":{"path":["api","auth","change-password"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"d48decc3-6010-440d-b9ba-6b8e37acf0c2","name":"Change Password","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"123456\",\r\n    \"newPassword\": \"987456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-CHupdp5W2p1YOR3sePWprHs1ARc\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:24:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Password change successfully.\"\n}"}],"_postman_id":"32ff53b6-2c49-49dc-822f-8c13e035e8c6"},{"name":"Forget Password","id":"d61afb61-3039-44a3-bdbb-f129f9284d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mfarhad.dev@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/forget-password","description":"<p>This api is used to request for reset password if user forgot their password. User must provide their email in request body. They receive an email with password reset link by which user can reset their password.</p>\n","urlObject":{"path":["api","auth","forget-password"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"d6aacd21-941d-4e52-a355-8c0c5e860985","name":"Forget Password","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mfarhad.dev@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/forget-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-sxdCDE6VxsTwJRxD8EdW3N1RlFU\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:25:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Password reset link sent check email\"\n}"}],"_postman_id":"d61afb61-3039-44a3-bdbb-f129f9284d23"},{"name":"Reset Password","id":"69f45021-016d-45d3-86d1-6ca8a801958b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/reset-password?email=mfarhad.dev@gmail.com&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM5MTMsImV4cCI6MTcyNjE0NDIxM30._tMMpiWX-bPJk13yR_tQ9FHWjisHusLbZiR38lklvqc","description":"<p>This api is used for reset user password. It take email and reset token as query params from password reset link which send by email. User have to provides new password in body.</p>\n","urlObject":{"path":["api","auth","reset-password"],"host":["http://localhost:5000"],"query":[{"key":"email","value":"mfarhad.dev@gmail.com"},{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM5MTMsImV4cCI6MTcyNjE0NDIxM30._tMMpiWX-bPJk13yR_tQ9FHWjisHusLbZiR38lklvqc"}],"variable":[]}},"response":[{"id":"74c1ae9d-dadc-4ce1-9a23-7d007b89e40a","name":"Reset Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:5000/api/auth/reset-password?email=mfarhad.dev@gmail.com&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM5MTMsImV4cCI6MTcyNjE0NDIxM30._tMMpiWX-bPJk13yR_tQ9FHWjisHusLbZiR38lklvqc","host":["http://localhost:5000"],"path":["api","auth","reset-password"],"query":[{"key":"email","value":"mfarhad.dev@gmail.com"},{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYxNDM5MTMsImV4cCI6MTcyNjE0NDIxM30._tMMpiWX-bPJk13yR_tQ9FHWjisHusLbZiR38lklvqc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"ETag","value":"W/\"38-2Gib5CWmd6iCx7e709n4PLv/myk\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:26:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Password reset successfully\"\n}"}],"_postman_id":"69f45021-016d-45d3-86d1-6ca8a801958b"}],"id":"2d79e3c2-bbe6-44a2-a87d-feedb6544226","description":"<p>Secure a<strong>uthentication using json web token and bcrypt, email sending functionality using nodemailer. User login, register, update and get user profile, change password, forget and reset password.</strong></p>\n","_postman_id":"2d79e3c2-bbe6-44a2-a87d-feedb6544226"},{"name":"Trip","item":[{"name":"Create Trip","id":"f8d15a8e-4bbc-4d03-9cc6-94669f54800e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/DevMFarhad/Downloads/2151747443.jpg","/C:/Users/DevMFarhad/Downloads/flowers-276014_640.jpg"],"src":["/C:/Users/DevMFarhad/Downloads/2151747443.jpg","/C:/Users/DevMFarhad/Downloads/flowers-276014_640.jpg","/C:/Users/DevMFarhad/Downloads/download.jpeg"]},{"key":"data","value":"{\n    \"destination\": \"Chattogram, Bangladesh\",\n    \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n    \"startDate\": \"2024-09-15\",\n    \"endDate\": \"2024-10-01\",\n    \"type\": \"cultural\"\n}","type":"text"}]},"url":"http://localhost:5000/api/trips","description":"<p>By this api user can create a trip with neccessary information. User can upload trip related photos. This api must take access token of user in authorization headers.</p>\n","urlObject":{"path":["api","trips"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"65423a51-55c8-4650-9961-b1c369960f79","name":"Create Trip","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","src":["/C:/Users/DevMFarhad/Downloads/flowers-276014_640.jpg","/C:/Users/DevMFarhad/Downloads/wide-angle-shot-single-tree-growing-clouded-sky-during-sunset-surrounded-by-grass_181624-22807.avif","/C:/Users/DevMFarhad/Downloads/download.jpeg"]},{"key":"data","value":"{\n    \"destination\": \"Chattogram, Bangladesh\",\n    \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n    \"startDate\": \"2024-09-15\",\n    \"endDate\": \"2024-10-01\",\n    \"type\": \"cultural\"\n}","type":"text"}]},"url":"http://localhost:5000/api/trips"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1325"},{"key":"ETag","value":"W/\"52d-qB44CXjNX8bbLEMxDKziis+8udA\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:29:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip created successfully\",\n    \"data\": {\n        \"id\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n        \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n        \"destination\": \"Chattogram, Bangladesh\",\n        \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n        \"startDate\": \"2024-09-15T00:00:00.000Z\",\n        \"endDate\": \"2024-10-01T00:00:00.000Z\",\n        \"dates\": \"2024-09-15:2024-10-01\",\n        \"type\": \"cultural\",\n        \"photos\": [\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144150/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:08%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\",\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144151/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:11%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.avif\",\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144152/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:12%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n        ],\n        \"isDeleted\": false,\n        \"createdAt\": \"2024-09-12T12:29:14.343Z\",\n        \"updatedAt\": \"2024-09-12T12:29:14.343Z\"\n    }\n}"}],"_postman_id":"f8d15a8e-4bbc-4d03-9cc6-94669f54800e"},{"name":"Get Trips","id":"99b37289-83a5-46c7-8f0f-6a57a694548f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/trips","description":"<p>By this api any one can get, search, filter trips. User can provide searchTerm for searching and type, startDate, endDate for filtering trips.</p>\n","urlObject":{"path":["api","trips"],"host":["http://localhost:5000"],"query":[{"disabled":true,"key":"type","value":"adventure"},{"disabled":true,"key":"startDate","value":"2025-01-15"},{"disabled":true,"key":"endDate","value":"2025-01-22"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"limit","value":"2"},{"disabled":true,"key":"sortBy","value":"type"},{"disabled":true,"key":"sortOrder","value":"asc"},{"disabled":true,"key":"searchTerm","value":"Bangladesh"}],"variable":[]}},"response":[{"id":"b8e72bbd-d33c-47bf-a066-d463e6efeece","name":"Get Trips","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:5000/api/trips","host":["http://localhost:5000"],"path":["api","trips"],"query":[{"key":"type","value":"adventure","disabled":true},{"key":"startDate","value":"2025-01-15","disabled":true},{"key":"endDate","value":"2025-01-22","disabled":true},{"key":"page","value":"2","disabled":true},{"key":"limit","value":"2","disabled":true},{"key":"sortBy","value":"type","disabled":true},{"key":"sortOrder","value":"asc","disabled":true},{"key":"searchTerm","value":"Bangladesh","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"7425"},{"key":"ETag","value":"W/\"1d01-I3LgJm6ViC9raZh+UtCGQQOQy6s\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:32:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trips retrieve successfully\",\n    \"meta\": {\n        \"total\": 8,\n        \"page\": 1,\n        \"limit\": 10\n    },\n    \"data\": [\n        {\n            \"id\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Chattogram, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2024-09-15T00:00:00.000Z\",\n            \"endDate\": \"2024-10-01T00:00:00.000Z\",\n            \"dates\": \"2024-09-15:2024-10-01\",\n            \"type\": \"cultural\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144150/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:08%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144151/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:11%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.avif\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144152/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:12%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T12:29:14.343Z\",\n            \"updatedAt\": \"2024-09-12T12:29:14.343Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"e93bdca8-fc26-45be-85ab-cc4739b5af87\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124632/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:45%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124633/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:51%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T07:03:52.849Z\",\n            \"updatedAt\": \"2024-09-12T07:03:52.849Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"0f7fe1c3-85a7-48f0-a75c-2205dc7fd589\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T07:02:49.010Z\",\n            \"updatedAt\": \"2024-09-12T07:02:49.010Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"627a496e-7fd3-4c57-bede-aebe0411681f\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123804/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:49:58%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:50:03.813Z\",\n            \"updatedAt\": \"2024-09-12T06:50:03.813Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"a7503b2d-acc5-4cb3-b344-2022b9c533ce\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"ctg, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"cultural\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124730/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:undefined-Thu%20Sep%2012%202024%2013:05:26%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124732/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:undefined-Thu%20Sep%2012%202024%2013:05:30%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:49:45.521Z\",\n            \"updatedAt\": \"2024-09-12T07:05:31.615Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"2a214c9a-b372-4fac-a9a5-5a2b2403a0a5\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123351/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:42:24%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123352/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:42:30%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:42:31.893Z\",\n            \"updatedAt\": \"2024-09-12T06:42:31.893Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"41dd1467-7dfa-4e29-bf8b-63e316db04ed\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"ctg, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"cultural\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-11T16:43:26.089Z\",\n            \"updatedAt\": \"2024-09-11T16:45:03.367Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"1811afe0-a342-4fed-bd67-eca8de7b43c7\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Dhake, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-11T16:43:19.809Z\",\n            \"updatedAt\": \"2024-09-11T16:43:19.809Z\",\n            \"user\": {\n                \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                \"username\": \"Janabul Nasa Shanta\",\n                \"email\": \"jnshata@gmail.com\"\n            },\n            \"tripReq\": []\n        }\n    ]\n}"}],"_postman_id":"99b37289-83a5-46c7-8f0f-6a57a694548f"},{"name":"Get My Trips","id":"91e05476-08fa-4dc6-a24a-4b17b2429f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"url":"http://localhost:5000/api/trips/my-trips","description":"<p>By this api logged user can get, search, filter her posted trips. User can provide searchTerm for searching and type, startDate, endDate for filtering her trips.</p>\n","urlObject":{"path":["api","trips","my-trips"],"host":["http://localhost:5000"],"query":[{"disabled":true,"key":"type","value":"adventure"},{"disabled":true,"key":"startDate","value":"2025-01-15"},{"disabled":true,"key":"endDate","value":"2025-01-22"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"limit","value":"2"},{"disabled":true,"key":"sortBy","value":"type"},{"disabled":true,"key":"sortOrder","value":"asc"},{"disabled":true,"key":"searchTerm","value":"Bangladesh"}],"variable":[]}},"response":[{"id":"42d1acd9-19a0-4288-8cc4-7fbf23b88ce3","name":"Get My Trips","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"url":{"raw":"http://localhost:5000/api/trips/my-trips","host":["http://localhost:5000"],"path":["api","trips","my-trips"],"query":[{"key":"type","value":"adventure","disabled":true},{"key":"startDate","value":"2025-01-15","disabled":true},{"key":"endDate","value":"2025-01-22","disabled":true},{"key":"page","value":"2","disabled":true},{"key":"limit","value":"2","disabled":true},{"key":"sortBy","value":"type","disabled":true},{"key":"sortOrder","value":"asc","disabled":true},{"key":"searchTerm","value":"Bangladesh","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6513"},{"key":"ETag","value":"W/\"1971-PP4iEhKGsmpfkEnJLO+VFjm7uuw\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:33:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trips retrieve successfully\",\n    \"meta\": {\n        \"total\": 8,\n        \"page\": 1,\n        \"limit\": 10\n    },\n    \"data\": [\n        {\n            \"id\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Chattogram, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2024-09-15T00:00:00.000Z\",\n            \"endDate\": \"2024-10-01T00:00:00.000Z\",\n            \"dates\": \"2024-09-15:2024-10-01\",\n            \"type\": \"cultural\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144150/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:08%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144151/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:11%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.avif\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144152/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:12%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T12:29:14.343Z\",\n            \"updatedAt\": \"2024-09-12T12:29:14.343Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"e93bdca8-fc26-45be-85ab-cc4739b5af87\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124632/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:45%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124633/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:51%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T07:03:52.849Z\",\n            \"updatedAt\": \"2024-09-12T07:03:52.849Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"0f7fe1c3-85a7-48f0-a75c-2205dc7fd589\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T07:02:49.010Z\",\n            \"updatedAt\": \"2024-09-12T07:02:49.010Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"627a496e-7fd3-4c57-bede-aebe0411681f\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123804/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:49:58%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:50:03.813Z\",\n            \"updatedAt\": \"2024-09-12T06:50:03.813Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"a7503b2d-acc5-4cb3-b344-2022b9c533ce\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"ctg, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"cultural\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124730/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:undefined-Thu%20Sep%2012%202024%2013:05:26%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124732/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:undefined-Thu%20Sep%2012%202024%2013:05:30%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:49:45.521Z\",\n            \"updatedAt\": \"2024-09-12T07:05:31.615Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"2a214c9a-b372-4fac-a9a5-5a2b2403a0a5\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Culna, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123351/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:42:24%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n                \"https://res.cloudinary.com/djs19qulb/image/upload/v1726123352/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2012:42:30%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n            ],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-12T06:42:31.893Z\",\n            \"updatedAt\": \"2024-09-12T06:42:31.893Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"41dd1467-7dfa-4e29-bf8b-63e316db04ed\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"ctg, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"cultural\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-11T16:43:26.089Z\",\n            \"updatedAt\": \"2024-09-11T16:45:03.367Z\",\n            \"tripReq\": []\n        },\n        {\n            \"id\": \"1811afe0-a342-4fed-bd67-eca8de7b43c7\",\n            \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"destination\": \"Dhake, Bangladesh\",\n            \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n            \"startDate\": \"2025-02-17T00:00:00.000Z\",\n            \"endDate\": \"2025-02-25T00:00:00.000Z\",\n            \"dates\": \"2025-02-17:2025-02-25\",\n            \"type\": \"adventure\",\n            \"photos\": [],\n            \"isDeleted\": false,\n            \"createdAt\": \"2024-09-11T16:43:19.809Z\",\n            \"updatedAt\": \"2024-09-11T16:43:19.809Z\",\n            \"tripReq\": []\n        }\n    ]\n}"}],"_postman_id":"91e05476-08fa-4dc6-a24a-4b17b2429f9b"},{"name":"Trip Datails","id":"e165c745-dfa1-4e1c-abd0-53650526096f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6","description":"<p>By this api anyone can see details of a trip. User must have to provide tripId in params.</p>\n","urlObject":{"path":["api","trips","ec016f02-38fb-4934-8c00-f6790cfecda6"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"02cda80f-858f-4eb0-90a1-31d05ef66aaa","name":"Trip Datails","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/trips/41dd1467-7dfa-4e29-bf8b-63e316db04ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"651"},{"key":"ETag","value":"W/\"28b-pXR0CETzSEeVw1ayWK3v9+VoMnU\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:33:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip retrieve successfully\",\n    \"data\": {\n        \"id\": \"41dd1467-7dfa-4e29-bf8b-63e316db04ed\",\n        \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n        \"destination\": \"ctg, Bangladesh\",\n        \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n        \"startDate\": \"2025-02-17T00:00:00.000Z\",\n        \"endDate\": \"2025-02-25T00:00:00.000Z\",\n        \"dates\": \"2025-02-17:2025-02-25\",\n        \"type\": \"cultural\",\n        \"photos\": [],\n        \"isDeleted\": false,\n        \"createdAt\": \"2024-09-11T16:43:26.089Z\",\n        \"updatedAt\": \"2024-09-11T16:45:03.367Z\",\n        \"user\": {\n            \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"username\": \"Janabul Nasa Shanta\",\n            \"email\": \"jnshata@gmail.com\"\n        },\n        \"tripReq\": []\n    }\n}"}],"_postman_id":"e165c745-dfa1-4e1c-abd0-53650526096f"},{"name":"Delete Trip","id":"16f505fb-5c96-4c78-9d56-d326a8d54d5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"url":"http://localhost:5000/api/trips/41dd1467-7dfa-4e29-bf8b-63e316db04ed","description":"<p>By this api logged user can delete a trip which posted by he or she. User must have to provide tripId in params and access token authorization headers</p>\n","urlObject":{"path":["api","trips","41dd1467-7dfa-4e29-bf8b-63e316db04ed"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"c230fbba-ccb6-4887-b22e-35eabd282103","name":"Delete Trip","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"url":"http://localhost:5000/api/trips/41dd1467-7dfa-4e29-bf8b-63e316db04ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-bK7STi37LCSquq9g4R2LxfkTgAM\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:34:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip deleted successfully\"\n}"}],"_postman_id":"16f505fb-5c96-4c78-9d56-d326a8d54d5b"},{"name":"Update Trip","id":"afc80d34-ee03-4fd3-ba2a-6ddf08f8d82a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"destination\": \"Ctg, Bangladesh\",\n    \"type\": \"cultural\"\n}","type":"text","disabled":true},{"key":"files","type":"file","value":null,"disabled":true}]},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6","description":"<p>By this api logged user can update a trip which posted by he or she. User must have to provide tripId in params and access token authorization headers. user have to send payload in request body. Photos also possible to upload.</p>\n","urlObject":{"path":["api","trips","ec016f02-38fb-4934-8c00-f6790cfecda6"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"e6f69c31-931d-4e79-b167-273b483b42b6","name":"Update Trip","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"destination\": \"Ctg, Bangladesh\",\n    \"type\": \"cultural\"\n}","type":"text","disabled":true},{"key":"files","type":"file","value":null,"disabled":true}]},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1452"},{"key":"ETag","value":"W/\"5ac-GNHZBtOBhG6W/gUcEVCT2C9Dxwg\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:35:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip updated successfully\",\n    \"data\": {\n        \"id\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n        \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n        \"destination\": \"Chattogram, Bangladesh\",\n        \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n        \"startDate\": \"2024-09-15T00:00:00.000Z\",\n        \"endDate\": \"2024-10-01T00:00:00.000Z\",\n        \"dates\": \"2024-09-15:2024-10-01\",\n        \"type\": \"cultural\",\n        \"photos\": [\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144150/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:08%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\",\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144151/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:11%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.avif\",\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144152/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:12%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n        ],\n        \"isDeleted\": false,\n        \"createdAt\": \"2024-09-12T12:29:14.343Z\",\n        \"updatedAt\": \"2024-09-12T12:29:14.343Z\",\n        \"user\": {\n            \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"username\": \"Janabul Nasa Shanta\",\n            \"email\": \"jnshata@gmail.com\"\n        },\n        \"tripReq\": []\n    }\n}"}],"_postman_id":"afc80d34-ee03-4fd3-ba2a-6ddf08f8d82a"},{"name":"Trip Join Request","id":"e957d52c-d1ea-469d-abdf-969eab04e77c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6/request","description":"<p>A logged user can sent trip join request. User must have to provide tripId in params and access token in authorizatio headers.</p>\n","urlObject":{"path":["api","trips","ec016f02-38fb-4934-8c00-f6790cfecda6","request"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"34e3c3c6-8487-451d-b6ce-1b5850ea8819","name":"Trip Join Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"258"},{"key":"ETag","value":"W/\"102-dkTp3cpHIkxNb4vHNy4FN8ANjzc\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:35:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip requested successfully\",\n    \"data\": {\n        \"tripId\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n        \"userId\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n        \"status\": \"pending\",\n        \"createdAt\": \"2024-09-12T12:35:30.623Z\",\n        \"updatedAt\": \"2024-09-12T12:35:30.623Z\"\n    }\n}"}],"_postman_id":"e957d52c-d1ea-469d-abdf-969eab04e77c"},{"name":"Requests Of Trip","id":"5264dd53-3512-4617-b12c-88d5169fa0df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6/request","description":"<p>By this api anyone get all join request of a specific trip. User must have to provide tripId in params</p>\n","urlObject":{"path":["api","trips","ec016f02-38fb-4934-8c00-f6790cfecda6","request"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"b4356411-fa3a-4174-b94d-9df52957d305","name":"Requests Of Trip","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/ec016f02-38fb-4934-8c00-f6790cfecda6/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1700"},{"key":"ETag","value":"W/\"6a4-cN4FonrB3QFmD4MQKdlVs5VOS1w\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:35:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip request retrieve successfully\",\n    \"data\": {\n        \"data\": [\n            {\n                \"tripId\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n                \"userId\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n                \"status\": \"pending\",\n                \"createdAt\": \"2024-09-12T12:35:30.623Z\",\n                \"updatedAt\": \"2024-09-12T12:35:30.623Z\",\n                \"trip\": {\n                    \"id\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n                    \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n                    \"destination\": \"Chattogram, Bangladesh\",\n                    \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n                    \"startDate\": \"2024-09-15T00:00:00.000Z\",\n                    \"endDate\": \"2024-10-01T00:00:00.000Z\",\n                    \"dates\": \"2024-09-15:2024-10-01\",\n                    \"type\": \"cultural\",\n                    \"photos\": [\n                        \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144150/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:08%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\",\n                        \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144151/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:11%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.avif\",\n                        \"https://res.cloudinary.com/djs19qulb/image/upload/v1726144152/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Chattogram%2C%20Bangladesh-Thu%20Sep%2012%202024%2018:29:12%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n                    ],\n                    \"isDeleted\": false,\n                    \"createdAt\": \"2024-09-12T12:29:14.343Z\",\n                    \"updatedAt\": \"2024-09-12T12:29:14.343Z\"\n                },\n                \"user\": {\n                    \"id\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n                    \"username\": \"Mohammad Farhad\",\n                    \"email\": \"mfarhad.dev@gmail.com\"\n                }\n            }\n        ],\n        \"meta\": {\n            \"page\": 1,\n            \"limit\": 10,\n            \"total\": 1\n        }\n    }\n}"}],"_postman_id":"5264dd53-3512-4617-b12c-88d5169fa0df"},{"name":"Accept or Reject Request","id":"e2c2dbbc-c282-48e5-aaea-22095c1753c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tripId\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\r\n    \"userId\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\r\n    \"status\": \"approved\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/request-status","description":"<p>By this api trip creator can accept or reject a join request of anyuser.</p>\n","urlObject":{"path":["api","trips","request-status"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"18b21e81-21b7-4320-9f05-cf6f4650fd23","name":"Accept or Reject Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tripId\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\r\n    \"userId\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\r\n    \"status\": \"approved\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/trips/request-status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"258"},{"key":"ETag","value":"W/\"102-m4yhOLb+m0tKo0T9jm7P2AWRu4w\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:45:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip approved successfully\",\n    \"data\": {\n        \"tripId\": \"ec016f02-38fb-4934-8c00-f6790cfecda6\",\n        \"userId\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n        \"status\": \"approved\",\n        \"createdAt\": \"2024-09-12T12:35:30.623Z\",\n        \"updatedAt\": \"2024-09-12T12:45:11.709Z\"\n    }\n}"}],"_postman_id":"e2c2dbbc-c282-48e5-aaea-22095c1753c6"}],"id":"ff2f2105-8bb7-4db8-9e83-fcc23010e594","description":"<p>Trip management by providing create, get, search, filter, get deatils, delete and update trips.</p>\n<p>User can sent trip join request and accept or reject trip join request.</p>\n","_postman_id":"ff2f2105-8bb7-4db8-9e83-fcc23010e594"},{"name":"Admin","item":[{"name":"Get Users","id":"3383f752-be62-4dd9-a374-e89a5f41df35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"url":"http://localhost:5000/api/admin/users","description":"<p>This api is for admin and super admin, it retrive all user information from database.</p>\n","urlObject":{"path":["api","admin","users"],"host":["http://localhost:5000"],"query":[{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"limit","value":"2"},{"disabled":true,"key":"role","value":"admin"},{"disabled":true,"key":"status","value":"active"},{"disabled":true,"key":"searchTerm","value":"Shanta"}],"variable":[]}},"response":[{"id":"e7890f5e-5495-46c1-b9cd-d528d376750a","name":"Get Users","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"url":{"raw":"http://localhost:5000/api/admin/users","host":["http://localhost:5000"],"path":["api","admin","users"],"query":[{"key":"page","value":"2","disabled":true},{"key":"limit","value":"2","disabled":true},{"key":"role","value":"admin","disabled":true},{"key":"status","value":"active","disabled":true},{"key":"searchTerm","value":"Shanta","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"917"},{"key":"ETag","value":"W/\"395-jBeWo22mTR0e6xBo8o00xd3EapM\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:47:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Users retrieved successfully\",\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total\": 5\n    },\n    \"data\": [\n        {\n            \"id\": \"790329d9-b0de-4bcb-bc1d-593a3de381b5\",\n            \"email\": \"mfarhad.attari@gmail.com\",\n            \"username\": \"Mohammad Farhad\",\n            \"role\": \"user\",\n            \"status\": \"active\",\n            \"isPasswordChanged\": false\n        },\n        {\n            \"id\": \"9415f31e-491c-4640-a55e-b88193c81776\",\n            \"email\": \"mfarhad@admin.com\",\n            \"username\": \"Mohammad Farhad\",\n            \"role\": \"user\",\n            \"status\": \"active\",\n            \"isPasswordChanged\": false\n        },\n        {\n            \"id\": \"e7da1fcc-e7e1-43c1-86c8-4dcb137aa4af\",\n            \"email\": \"test@admin.com\",\n            \"username\": \"Test Admin\",\n            \"role\": \"admin\",\n            \"status\": \"active\",\n            \"isPasswordChanged\": false\n        },\n        {\n            \"id\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n            \"email\": \"jnshata@gmail.com\",\n            \"username\": \"Janabul Nasa Shanta\",\n            \"role\": \"user\",\n            \"status\": \"active\",\n            \"isPasswordChanged\": false\n        },\n        {\n            \"id\": \"bfdbca9a-2c24-4aaa-9973-69bf4bfaff58\",\n            \"email\": \"mfarhad.dev@gmail.com\",\n            \"username\": \"Mohammad Farhad\",\n            \"role\": \"user\",\n            \"status\": \"active\",\n            \"isPasswordChanged\": true\n        }\n    ]\n}"}],"_postman_id":"3383f752-be62-4dd9-a374-e89a5f41df35"},{"name":"Update User","id":"cfa7aa69-d96a-4cce-91c6-2777ea54110b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"role\": \"admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/admin/users/790329d9-b0de-4bcb-bc1d-593a3de381b5","description":"<p>This api in for admin and super admin. They can blocked a user and update user role by this api.</p>\n","urlObject":{"path":["api","admin","users","790329d9-b0de-4bcb-bc1d-593a3de381b5"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"e46bf533-5d1a-4431-a6bf-6333b48acfab","name":"Update User","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"role\": \"admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/admin/users/790329d9-b0de-4bcb-bc1d-593a3de381b5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"230"},{"key":"ETag","value":"W/\"e6-pnuloCX9PPJ03aoF3XVPpduoB5U\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:48:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User updated successfully\",\n    \"data\": {\n        \"id\": \"790329d9-b0de-4bcb-bc1d-593a3de381b5\",\n        \"email\": \"mfarhad.attari@gmail.com\",\n        \"username\": \"Mohammad Farhad\",\n        \"role\": \"admin\",\n        \"status\": \"active\",\n        \"isPasswordChanged\": false\n    }\n}"}],"_postman_id":"cfa7aa69-d96a-4cce-91c6-2777ea54110b"},{"name":"Delete Trip","id":"5e9f734a-27e7-43fa-be49-0261a381e0cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3ZGExZmNjLWU3ZTEtNDNjMS04NmM4LTRkY2IxMzdhYTRhZiIsImVtYWlsIjoidGVzdEBhZG1pbi5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MjYwNDE3MjAsImV4cCI6MTcyNjY0NjUyMH0.gve5Z5hCRsfKxnrWNC7m2O8thOlqopK0cdpAi2W2zy0","type":"text"}],"url":"http://localhost:5000/api/admin/trips/ec016f02-38fb-4934-8c00-f6790cfecda6","description":"<p>This api is only for admin and super admin, only they can delete any trip of any users.</p>\n","urlObject":{"path":["api","admin","trips","ec016f02-38fb-4934-8c00-f6790cfecda6"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"38f45fa6-cb89-4918-b6ef-f880db0ae12f","name":"Delete Trip","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3ZGExZmNjLWU3ZTEtNDNjMS04NmM4LTRkY2IxMzdhYTRhZiIsImVtYWlsIjoidGVzdEBhZG1pbi5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MjYwNDE3MjAsImV4cCI6MTcyNjY0NjUyMH0.gve5Z5hCRsfKxnrWNC7m2O8thOlqopK0cdpAi2W2zy0","type":"text"}],"url":"http://localhost:5000/api/admin/trips/ec016f02-38fb-4934-8c00-f6790cfecda6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-bK7STi37LCSquq9g4R2LxfkTgAM\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:49:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip deleted successfully\"\n}"}],"_postman_id":"5e9f734a-27e7-43fa-be49-0261a381e0cc"},{"name":"Update trip","id":"7ff14b6b-41b2-4173-b12a-f92868293d44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3ZGExZmNjLWU3ZTEtNDNjMS04NmM4LTRkY2IxMzdhYTRhZiIsImVtYWlsIjoidGVzdEBhZG1pbi5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MjYwNDE3MjAsImV4cCI6MTcyNjY0NjUyMH0.gve5Z5hCRsfKxnrWNC7m2O8thOlqopK0cdpAi2W2zy0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"destination\": \"Chattogram, Bangladesh\",\n    \"type\": \"cultural\"\n}","type":"text"},{"key":"files","type":"file","value":null}]},"url":"http://localhost:5000/api/admin/trips/e93bdca8-fc26-45be-85ab-cc4739b5af87","description":"<p>An admin and super admin can update a trip infomation</p>\n","urlObject":{"path":["api","admin","trips","e93bdca8-fc26-45be-85ab-cc4739b5af87"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"c0713bcf-61e6-488e-9ce6-c8ad448f1898","name":"Update trip","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3ZGExZmNjLWU3ZTEtNDNjMS04NmM4LTRkY2IxMzdhYTRhZiIsImVtYWlsIjoidGVzdEBhZG1pbi5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MjYwNDE3MjAsImV4cCI6MTcyNjY0NjUyMH0.gve5Z5hCRsfKxnrWNC7m2O8thOlqopK0cdpAi2W2zy0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{\n    \"destination\": \"Chattogram, Bangladesh\",\n    \"type\": \"cultural\"\n}","type":"text"},{"key":"files","type":"file","value":null}]},"url":"http://localhost:5000/api/admin/trips/e93bdca8-fc26-45be-85ab-cc4739b5af87"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1049"},{"key":"ETag","value":"W/\"419-TNLiGCnJrybaGJK3SmIqH8pOe8E\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:50:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Trip updated successfully\",\n    \"data\": {\n        \"id\": \"e93bdca8-fc26-45be-85ab-cc4739b5af87\",\n        \"userId\": \"199a9368-2fbb-4c0a-a134-22a6e024392e\",\n        \"destination\": \"Chattogram, Bangladesh\",\n        \"description\": \"A cultural trip to explore the historic sites and river life in the Barisal division.\",\n        \"startDate\": \"2025-02-17T00:00:00.000Z\",\n        \"endDate\": \"2025-02-25T00:00:00.000Z\",\n        \"dates\": \"2025-02-17:2025-02-25\",\n        \"type\": \"cultural\",\n        \"photos\": [\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124632/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:45%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.png\",\n            \"https://res.cloudinary.com/djs19qulb/image/upload/v1726124633/Shanto%20Travel%20Songgi/trips/userId:199a9368-2fbb-4c0a-a134-22a6e024392e-destination:Culna%2C%20Bangladesh-Thu%20Sep%2012%202024%2013:03:51%20GMT%2B0600%20%28Bangladesh%20Standard%20Time%29.jpg\"\n        ],\n        \"isDeleted\": false,\n        \"createdAt\": \"2024-09-12T07:03:52.849Z\",\n        \"updatedAt\": \"2024-09-12T12:50:46.199Z\"\n    }\n}"}],"_postman_id":"7ff14b6b-41b2-4173-b12a-f92868293d44"}],"id":"f22413ad-07eb-4770-98ac-a7fe77c58bd3","description":"<p>This api collection in for admin and super admin. This collection are used to managing users and trips</p>\n","_postman_id":"f22413ad-07eb-4770-98ac-a7fe77c58bd3"},{"name":"Metadata","item":[{"name":"Get Metadata","id":"48165ee1-f0f1-4b40-ae8b-95034cb7e62d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"url":"http://localhost:5000/api/meta","description":"<p>This api are user to get meta data for user dashboard. User can get info accroding to their role.</p>\n","urlObject":{"path":["api","meta"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[{"id":"84c9c16d-a1dc-4f84-bc72-6080089455d3","name":"Get Metadata","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"text"}],"url":"http://localhost:5000/api/meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"247"},{"key":"ETag","value":"W/\"f7-ntbyzKLKECbC1Z5GzovFIEarF1Q\""},{"key":"Date","value":"Thu, 12 Sep 2024 12:51:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Metadata retrieved successfully.\",\n    \"data\": {\n        \"activeUser\": 3,\n        \"blockedUser\": 0,\n        \"totalUser\": 3,\n        \"activeAdmin\": 2,\n        \"blockedAdmin\": 0,\n        \"totalAdmin\": 2,\n        \"upcomingTrip\": 9,\n        \"previousTrip\": 0,\n        \"tripApproved\": 0,\n        \"tripRejected\": 0,\n        \"tripPending\": 0\n    }\n}"}],"_postman_id":"48165ee1-f0f1-4b40-ae8b-95034cb7e62d"}],"id":"dcfbee01-4088-4e1a-af3f-ea67c56d73f4","description":"<p>This collection are used for all dashboard related api.</p>\n","_postman_id":"dcfbee01-4088-4e1a-af3f-ea67c56d73f4"}],"event":[{"listen":"prerequest","script":{"id":"c0551a0a-9f85-4f40-a9fc-7390af1407c0","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1dcd603e-774a-4508-9b98-7aec76974d91","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"base_api","value":"http://localhost:5000","type":"string"},{"key":"user1","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE5OWE5MzY4LTJmYmItNGMwYS1hMTM0LTIyYTZlMDI0MzkyZSIsImVtYWlsIjoiam5zaGF0YUBnbWFpbC5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNzUxMDkzOSwiZXhwIjoxNzI4MTE1NzM5fQ.zAzJZs59q7O5tJ9cw-YsJsewNuYK6aqYm0TxHC25cJs","type":"string"},{"key":"user2","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk0MTVmMzFlLTQ5MWMtNDY0MC1hNTVlLWI4ODE5M2M4MTc3NiIsImVtYWlsIjoibWZhcmhhZEBhZG1pbi5jb20iLCJyb2xlIjoidXNlciIsImlhdCI6MTcyNjEzNDY0MywiZXhwIjoxNzI2NzM5NDQzfQ.vzU9tyB-v_UO_0diDuT1XZVdp19iDr5pFROA9Fq3_q4","type":"string"},{"key":"super","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc3ODUwMjc3LWExZjQtNGQxYi1hYTE2LTFhZGJkNGU0YjQ5ZSIsImVtYWlsIjoic3VwZXJAYWRtaW4uY29tIiwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI2MDI4OTUxLCJleHAiOjE3MjY2MzM3NTF9.pTNFFF9X4zfoEL5lPH33OApaHSXtvg-l30J6QJR5U9U","type":"string"},{"key":"admin","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3ZGExZmNjLWU3ZTEtNDNjMS04NmM4LTRkY2IxMzdhYTRhZiIsImVtYWlsIjoidGVzdEBhZG1pbi5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MjYwNDE3MjAsImV4cCI6MTcyNjY0NjUyMH0.gve5Z5hCRsfKxnrWNC7m2O8thOlqopK0cdpAi2W2zy0","type":"string"},{"key":"mfarhad","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZGJjYTlhLTJjMjQtNGFhYS05OTczLTY5YmY0YmZhZmY1OCIsImVtYWlsIjoibWZhcmhhZC5kZXZAZ21haWwuY29tIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjYwMjYzOTgsImV4cCI6MTcyNjYzMTE5OH0.DefciTO9ItbdwcIDefSFdELNtjTy-1Og6ASzY58MZPQ","type":"string"}]}