{"info":{"_postman_id":"b41299ba-3c09-43e9-8559-633d82f0e3b2","name":"Donatix","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"28965294","collectionId":"b41299ba-3c09-43e9-8559-633d82f0e3b2","publishedId":"2sA2xnx9aK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-03-16T14:34:45.000Z"},"item":[{"name":"User","item":[{"name":"Register","id":"16bfdcba-705e-402e-b3fc-2df2af5213c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"userName\": \"sophia_carter\",\r\n    \"email\": \"sophia.carter@example.com\",\r\n    \"phoneNumber\": \"123456789\" ,\r\n    \"password\": \"hashed_password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/users/register","urlObject":{"protocol":"https","path":["api","v1","users","register"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"16bfdcba-705e-402e-b3fc-2df2af5213c3"},{"name":"Login","id":"f374e91d-ad6e-4906-af67-19fa5226b857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@gmail.com\",\r\n    \"password\": \"hashed_password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/users/login","urlObject":{"protocol":"https","path":["api","v1","users","login"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"f374e91d-ad6e-4906-af67-19fa5226b857"}],"id":"e3e08769-e8de-46e7-ac89-977ae2d19f45","_postman_id":"e3e08769-e8de-46e7-ac89-977ae2d19f45","description":""},{"name":"Donation","item":[{"name":"Get Items","id":"074b9353-5ab9-48d5-a88f-e8dbdf0dcfe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://givers-heaven-server.vercel.app/api/v1/donations","urlObject":{"protocol":"https","path":["api","v1","donations"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"074b9353-5ab9-48d5-a88f-e8dbdf0dcfe7"},{"name":"Get Single Item","id":"ba9f998e-0e13-434c-8038-be86c52ed265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://givers-heaven-server.vercel.app/api/v1/donations/65f5aca5cfc772bac97d1ed5","urlObject":{"protocol":"https","path":["api","v1","donations","65f5aca5cfc772bac97d1ed5"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba9f998e-0e13-434c-8038-be86c52ed265"},{"name":"Create Item","id":"b3b9a991-b63a-4643-aa1c-52252a9864d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Emergency Shelter Relief\",\r\n    \"donationImage\": \"https://images.pexels.com/photos/3555615/pexels-photo-3555615.jpeg?auto=compress&cs=tinysrgb&w=600\",\r\n    \"category\": \"Shelter\",\r\n    \"amount\": 10000,\r\n    \"description\": \"Amidst the devastation of the recent disaster, families find themselves without shelter, exposed to the unforgiving elements. Your generous donation for Emergency Shelter Relief will provide crucial support. Tents, sturdy and weather-resistant, will become temporary homes, offering a sanctuary from the cold and rain. These shelters will be equipped with basic amenities such as sleeping mats, cooking supplies, and hygiene kits, ensuring families have a dignified place to rest and recover. Blankets, soft and warm, will wrap children and adults alike, providing comfort amidst the chaos. Temporary housing will offer a semblance of stability, a place to begin the long journey of rebuilding shattered lives.\",\r\n    \"createdBy\": \"65f1cc7484fd9c5b51f38ee0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/donations/create-donation","urlObject":{"protocol":"https","path":["api","v1","donations","create-donation"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3b9a991-b63a-4643-aa1c-52252a9864d3"},{"name":"Update Item","id":"da7e8ab3-b265-4dbc-81d5-cddb54e3ef4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Emergency Shelter Relieff\",\r\n    \"donationImage\": \"https://images.pexels.com/photos/3555615/pexels-photo-3555615.jpeg?auto=compress&cs=tinysrgb&w=600\",\r\n    \"category\": \"Shelter\",\r\n    \"amount\": 10000,\r\n    \"description\": \"Amidst the devastation of the recent disaster, families find themselves without shelter, exposed to the unforgiving elements. Your generous donation for Emergency Shelter Relief will provide crucial support. Tents, sturdy and weather-resistant, will become temporary homes, offering a sanctuary from the cold and rain. These shelters will be equipped with basic amenities such as sleeping mats, cooking supplies, and hygiene kits, ensuring families have a dignified place to rest and recover. Blankets, soft and warm, will wrap children and adults alike, providing comfort amidst the chaos. Temporary housing will offer a semblance of stability, a place to begin the long journey of rebuilding shattered lives.\",\r\n    \"createdBy\": \"65f1cc7484fd9c5b51f38ee0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/donations/65f5ad50cfc772bac97d1edf","urlObject":{"protocol":"https","path":["api","v1","donations","65f5ad50cfc772bac97d1edf"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"da7e8ab3-b265-4dbc-81d5-cddb54e3ef4e"},{"name":"Delete Item","id":"6a760f47-d370-4242-a578-e2511a5336f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://givers-heaven-server.vercel.app/api/v1/donations/65f1cc7484fd9c5b51f38ee0","urlObject":{"protocol":"https","path":["api","v1","donations","65f1cc7484fd9c5b51f38ee0"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a760f47-d370-4242-a578-e2511a5336f7"}],"id":"c052cd65-89b8-4816-8311-fcb494bc5d4c","_postman_id":"c052cd65-89b8-4816-8311-fcb494bc5d4c","description":""},{"name":"Donation Transaction","item":[{"name":"Get Monthly Totals For Year","id":"445332e7-7f41-4b62-bbea-0fbe3c889b94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"year\": 2024\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/donation-transactions/monthly-total-donations-for-year","urlObject":{"protocol":"https","path":["api","v1","donation-transactions","monthly-total-donations-for-year"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"445332e7-7f41-4b62-bbea-0fbe3c889b94"},{"name":"Get Top Doners","id":"d5d98c98-0cb4-45d6-afd9-6ef1cdc6b764","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/donation-transactions/leaderboard","urlObject":{"protocol":"https","path":["api","v1","donation-transactions","leaderboard"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5d98c98-0cb4-45d6-afd9-6ef1cdc6b764"}],"id":"e416dbab-3064-4a8e-ae4c-4c37694ef73d","_postman_id":"e416dbab-3064-4a8e-ae4c-4c37694ef73d","description":""},{"name":"Volunteer","item":[{"name":"Create Item","id":"8138d4e2-b9bb-492b-80d5-8f1d124a4b69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"Alice Johnson\",\r\n    \"email\": \"alice@example.com\",\r\n    \"phone\": \"01234-567890\",\r\n    \"availability\": \"Weekdays\",\r\n    \"address\": \"456 Oak Street, Cityville, State, 12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/volunteers/create-volunteer","urlObject":{"protocol":"https","path":["api","v1","volunteers","create-volunteer"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"8138d4e2-b9bb-492b-80d5-8f1d124a4b69"},{"name":"Get Items","id":"55ffa42e-58b4-40f5-b724-3958c4538ba4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/volunteers","urlObject":{"protocol":"https","path":["api","v1","volunteers"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"55ffa42e-58b4-40f5-b724-3958c4538ba4"}],"id":"687f98a0-a082-4726-a8a1-352546aa6b8e","_postman_id":"687f98a0-a082-4726-a8a1-352546aa6b8e","description":""},{"name":"Testimonial","item":[{"name":"Create Item","id":"e5b7679f-3747-4b79-9d59-2b6effaa40ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"createdBy\": \"65f1cc7484fd9c5b51f38ee0\",\r\n    \"fullName\": \"Nathan Adams\",\r\n    \"designation\": \"Director, UVW Fund\",\r\n    \"testimonial\": \"The transparency of this platform is outstanding. I can see exactly where my donations are going and the impact they make. It's heartwarming to be a part of such a meaningful cause.\",\r\n    \"userImage\": \"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg?auto=compress&cs=tinysrgb&w=600\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/testimonials/create-testimonial","urlObject":{"protocol":"https","path":["api","v1","testimonials","create-testimonial"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5b7679f-3747-4b79-9d59-2b6effaa40ac"},{"name":"Get Items","id":"2222333e-0f93-4ca0-94b4-fbe5b680da16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://givers-heaven-server.vercel.app/api/v1/testimonials","urlObject":{"protocol":"https","path":["api","v1","testimonials"],"host":["givers-heaven-server","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"2222333e-0f93-4ca0-94b4-fbe5b680da16"}],"id":"91f4e2cb-5d22-4c22-a30a-9026eff13394","_postman_id":"91f4e2cb-5d22-4c22-a30a-9026eff13394","description":""},{"name":"Auth","item":[{"name":"Login","id":"5b98d9f1-90bf-4950-86d8-b2e259ab106c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iibrahiim.dev@gmail.com\",\r\n    \"password\": \"Ibrahim@@70\",\r\n    \"rememberMe\": true // if user dont want to login each day \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/login","urlObject":{"path":["auth","login"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b98d9f1-90bf-4950-86d8-b2e259ab106c"},{"name":"Verify Email","id":"11b59ec3-8c6b-4516-a551-3c96127fd94b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iibrahiim.dev@gmail.com\",\r\n    \"verificationType\": \"email-verify\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/verify-email","urlObject":{"path":["auth","verify-email"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"11b59ec3-8c6b-4516-a551-3c96127fd94b"},{"name":"Forgot Password","id":"80c256ea-9879-4e5c-8db3-c7e86f406aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iibrahiim.dev@gmail.com\",\r\n    \"verificationType\": \"password-reset\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/forgot-password","urlObject":{"path":["auth","forgot-password"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"80c256ea-9879-4e5c-8db3-c7e86f406aef"},{"name":"Reset Password","id":"01981c2c-70a2-4418-8a68-5c027fe557ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmUwMjc1ZGZlZTNmZjQ5NjdmODlkODIiLCJlbWFpbCI6ImJlbm55X2NocmlzdGlhbnNlbkBob3RtYWlsLmNvbSIsInJvbGUiOiJVU0VSIiwiaWF0IjoxNzI2MDI5NTUwLCJleHAiOjE3MjYwMjk4NTB9.-ZtAcZ-1AQDy73MbK2ts9_cQKHLINcFzjJQDebAEA2g","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"newPassword\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/reset-password","urlObject":{"path":["auth","reset-password"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"01981c2c-70a2-4418-8a68-5c027fe557ae"},{"name":"Change Password","id":"e550d306-a568-4cb8-b60c-8d5d4386c535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmU3ZDIyZmQ2ZjY2ZjRmZDU4MDJlZTgiLCJlbWFpbCI6InRlc3RAZ21haWwuY29tIiwicm9sZSI6IlNVUEVSLUFETUlOIiwiaWF0IjoxNzI2OTkzNzg0LCJleHAiOjE3MjcwODAxODR9.NEVmdlhA1Y92gI3vhGRiivcn16chBPpVLq2F1gQQ2Xg"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"currentPassword\": \"kesaro1917@iteradev.com\",\r\n    \"newPassword\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/change-password","urlObject":{"path":["auth","change-password"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"e550d306-a568-4cb8-b60c-8d5d4386c535"},{"name":"Verify Otp","id":"8a760814-621e-42fa-9fd6-8aef8a4a1e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iibrahiim.dev@gmail.com\",\r\n    \"otp\": 856735,\r\n    \"verificationType\": \"email-verify\" // use \"email-verify\" for verify email and use \"password-reset\" for reset password verification\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/api/v2/auth/verify-otp","urlObject":{"path":["auth","verify-otp"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a760814-621e-42fa-9fd6-8aef8a4a1e51"},{"name":"Issue New Access Token","id":"ffebbdb9-b7b8-4578-ad90-3ab8e390efa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmU3ZDIyZmQ2ZjY2ZjRmZDU4MDJlZTgiLCJlbWFpbCI6InRlc3RAZ21haWwuY29tIiwicm9sZSI6IlNVUEVSLUFETUlOIiwiaWF0IjoxNzI2OTkzNzg0LCJleHAiOjE3MjcwODAxODR9.NEVmdlhA1Y92gI3vhGRiivcn16chBPpVLq2F1gQQ2Xg","type":"text"}],"url":"http://localhost:5050/api/v2/auth/refresh-token","urlObject":{"path":["auth","refresh-token"],"host":["http://localhost:5050/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffebbdb9-b7b8-4578-ad90-3ab8e390efa4"}],"id":"787da3e3-0b2b-40b1-9c49-16326679ccb7","_postman_id":"787da3e3-0b2b-40b1-9c49-16326679ccb7","description":""},{"name":"Test Route","event":[{"listen":"test","script":{"id":"6c35aa7d-2076-4b4d-94a8-323a32e8cf08","exec":[""],"type":"text/javascript","packages":{}}}],"id":"6e2098ae-e124-4afc-ad5a-a0ccd2902de2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5050","urlObject":{"protocol":"http","port":"5050","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e2098ae-e124-4afc-ad5a-a0ccd2902de2"}],"event":[{"listen":"prerequest","script":{"id":"bc768b80-0693-4776-8bb9-55b01129bb07","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"0497c7b7-a94c-4dbc-a724-f8d9d0daa30f","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"Local-Url","value":"http://localhost:5050/api/v2","type":"string"},{"key":"User-Token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmU3ZDIyZmQ2ZjY2ZjRmZDU4MDJlZTgiLCJlbWFpbCI6InRlc3RAZ21haWwuY29tIiwicm9sZSI6IlNVUEVSLUFETUlOIiwiaWF0IjoxNzI2OTkzNzg0LCJleHAiOjE3MjcwODAxODR9.NEVmdlhA1Y92gI3vhGRiivcn16chBPpVLq2F1gQQ2Xg","type":"string"}]}