{"info":{"_postman_id":"4cd1d337-b9c8-4cc0-b6e6-c56bbd3a60c4","name":"used-ideas-app","description":"<html><head></head><body><p>- Аутентифікація - токен в куках. В ньому закодовано 3 параметри: uid, inactiveUId, isAdmin. З їх допомогою сервер визначає ваш статус.</p>\n<p>- Реєстрація через гугл. Сервер отримує токен гугла із фронтенду і за ним визначає пошту. Якщо ніка ще нема, він генеруються</p>\n<p>- Реєстрація через пошту. Відбувається у 2 http запити. Як мені здалось, відокремити їх буде простіше для розуміння. В першому запиті створюється неактивний користувач за окремою моделлю в БД. В другому відсилається код на пошту. Код дійсний 15 хв</p>\n<p>- Email реалізовано за допомогою nodemailer і gmail пошти+\"app password\". Виходить що безкоштовно. Але ліміт 500 email'ів щодня.</p>\n<p>- Картинки аватара та скріншоти постів зберігаються на google drive ~~nuts~~. Можна зберігати до 15 ГБ. Файли завантажуються одразу на фронтенд через \"труби\" (pipe stream)</p>\n<p>- Пости. Пост створюються на основі зібраної метадати сайту. Збирається вона за допомогою спеціального пакета. Якщо в метадаті немає картинки, робиться скріншот вебсайту за допомогою найпопулярнішого веб-скрепера -puppeteerjs. Однак користувач може додати власну картинку замість автоматичного створення. Вона також збережеться на GDrive.</p>\n<p>- Оплата спінів. За допомогою популярного сервісу Wayforpay.</p>\n<ol>\n<li><p>Клієнт відсилає транзакцію на сервер для підписання. Сервер створює `order: {status: pending}`</p>\n</li>\n<li><p>Клієнт відсилає підписану транзакцію на Wayforpay</p>\n</li>\n<li><p>Сервер отримує запит від Wayforpay з підтвердженням або скасуванням транзакції</p>\n</li>\n<li><p>Клієнта перекидає на сторінку сервера, а сервер в свою чергу редіректить на сторінку завершеного замовлення</p>\n</li>\n<li><p>Клієнт робить запит щоб дізнатися статус замовлення (Підтверджено чи Відмінено)</p>\n</li>\n</ol>\n<p>- Нагорода за виконані завдання дається користувачам, яких адмін завайтлистив. Гроші відсилаються за допомогою 1 \"напів-крипто\" сервісу та того ж веб-скрепера. На жаль ні один сервіс не дав мені доступу для необхідного API, тому ось такі \"геніальні\" рішення доводиться придумувати</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17414321","collectionId":"4cd1d337-b9c8-4cc0-b6e6-c56bbd3a60c4","publishedId":"2s8ZDVaj2o","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-01-18T13:49:12.000Z"},"item":[{"name":"auth","item":[{"name":"signup with email","item":[{"name":"createInactiveUser","id":"b0ad70b5-75f9-4b9c-bf5f-e26c1f582d87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"admin\",\r\n    \"email\": \"vadimbaranivsky83@gmail.com\",\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/create-inactive-user","description":"<p>Запит, відповідальний за реєстрацію з допомогою пошти</p>\n","urlObject":{"path":["auth","create-inactive-user"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"40a82a38-4a9e-4255-9560-10030461b058","name":"local","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Bogdan\",\r\n    \"password\": \"placeholder password\",\r\n    \"email\": \"delmesaspi@vusra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/create-inactive-user"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"6dd5c3ee-8f07-45d0-b1a8-aae867649d88","name":"online","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Bogdan\",\r\n    \"password\": \"placeholder password\",\r\n    \"email\": \"delmesaspi@vusra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://unamour-server.herokuapp.com/auth/create-inactive-user"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b0ad70b5-75f9-4b9c-bf5f-e26c1f582d87"},{"name":"sendActivationCode","id":"f0ee54f4-199b-411e-8c1e-c26fb37d0764","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://used-startup-ideas.onrender.com/auth/send-activation-code","description":"<p>Щоб отримати код на пошту</p>\n","urlObject":{"path":["auth","send-activation-code"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"47d5732f-a129-4e22-81e1-7fbf8ad33811","name":"local","originalRequest":{"method":"POST","header":[],"url":"https://used-startup-ideas.onrender.com/auth/send-activation-code"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"63dda933-2d5d-42e4-bcc2-f83c00d0978e","name":"online","originalRequest":{"method":"POST","header":[],"url":"https://used-startup-ideas.onrender.com/auth/send-activation-code"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f0ee54f4-199b-411e-8c1e-c26fb37d0764"},{"name":"activateUserWithCode","id":"256c667b-10e2-40de-8470-277c8328aea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"043139\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/activate-user-with-code","description":"<p>Активуватися кодом з пошти</p>\n","urlObject":{"path":["auth","activate-user-with-code"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"42bc22f0-0981-45f7-9d66-ea8bf1064864","name":"local","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"614861\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/activate-user-with-code"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"477a98bd-ed92-4d47-8e14-376628ca5de1","name":"online","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"614861\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://unamour-server.herokuapp.com/activate-user-with-code"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"256c667b-10e2-40de-8470-277c8328aea8"}],"id":"d1448805-edb8-4925-a5a2-3b993df645f3","_postman_id":"d1448805-edb8-4925-a5a2-3b993df645f3","description":""},{"name":"recovery (off)","item":[{"name":"recoverAccount","id":"2846ae95-ffeb-45ac-88b9-b64f23536006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/auth/recover-account?token=75186ad2dd5caf8501f27b4ab438181587bccababdbb9d964fdff6809c780f6f","urlObject":{"path":["auth","recover-account"],"host":["https://used-startup-ideas.onrender.com"],"query":[{"key":"token","value":"75186ad2dd5caf8501f27b4ab438181587bccababdbb9d964fdff6809c780f6f"}],"variable":[]}},"response":[],"_postman_id":"2846ae95-ffeb-45ac-88b9-b64f23536006"},{"name":"sendRecoveryLink","id":"0d6f9dc1-6951-4e4a-9f55-71469a519d44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"potenij374@richdn.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/send-recovery-link","urlObject":{"path":["auth","send-recovery-link"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d6f9dc1-6951-4e4a-9f55-71469a519d44"}],"id":"fd5b8328-a0b0-4038-8436-803a49f40680","description":"<p>Відновлення паролю. Вимкнено за непотрібністю</p>\n","_postman_id":"fd5b8328-a0b0-4038-8436-803a49f40680"},{"name":"set credentials","item":[{"name":"setPassword","id":"187709b1-b153-4b1b-b777-282c913fd826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\":\"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/set-password","urlObject":{"path":["auth","set-password"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"187709b1-b153-4b1b-b777-282c913fd826"},{"name":"setName","id":"759bff76-56e5-49b8-a1d2-c7fc410860bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"vadim_top\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/set-name","urlObject":{"path":["auth","set-name"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"759bff76-56e5-49b8-a1d2-c7fc410860bd"}],"id":"df363bf9-fb3d-479d-8275-2d2084332ae6","description":"<p>Змінювати властивості користувача, пов'язані з аутентифікацією</p>\n","_postman_id":"df363bf9-fb3d-479d-8275-2d2084332ae6"},{"name":"loginWithGoogle","id":"84642e68-cf4f-46c7-9653-60ecf6bdfb3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6IjAyYTYxZWZkMmE0NGZjMjE1MTQ4ZDRlZmZjMzRkNmE3YjJhYzI2ZjAiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTc2MzEzNjExMDA3MjI3MjYxMDAiLCJlbWFpbCI6InZhZGltYmFyYW5pdnNreTgzQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiMGFmZ3FJTVItd3RXTVYwNGpxYzRldyIsIm5hbWUiOiLQkdCw0YDQsNC90ZbQstGB0YzQutC40Lkg0JLQsNC00LjQvCIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BRWRGVHA1NDBjNGQ1NmU2ZU80Mml0TWdGQVZxaGhuNE14d1AwMlJ4SnJmZDdBPXM5Ni1jIiwiZ2l2ZW5fbmFtZSI6ItCR0LDRgNCw0L3RltCy0YHRjNC60LjQuSIsImZhbWlseV9uYW1lIjoi0JLQsNC00LjQvCIsImxvY2FsZSI6InVrIiwiaWF0IjoxNjcyMjUzNjE0LCJleHAiOjE2NzIyNTcyMTR9.GoUGHo-q1tljk8q0KtGdeKfTxIyiM1k7v32SqRZ8fpcNFwPKhzCrarAZSF_wj3ZdKHNC3md042LEaboXNVAGERh8bwCVewPaFCclD19mO1fDDoZ2RRDg-9UjiFpnXvNFxuCE4i4iH_AAezEiXuP-OZp7lLhl3qCwKwUS4T7BkBzV9I-Om6wdIBtTjbMghzN--a7NH-lrnj49E7EyjjH23F6f0gMgtfKCh4wndNYXvGPbTCo4flnEgsIR-3VQJWV4H9SUXX8zMvUEyQDQ5Xk9FdiRZ4aMLFvuNL4Z7-fF0CJHAfK5QgIdOyAk_6rR-roCIB21Ourk1tJkUjPBqwm-Gw\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/login-with-google","description":"<p>Вхід із гугл. Якщо пошту не зареєстровано - автоматично реєструє з випадковим юзернеймом. Якщо зареєстровано іншим способом - вхід також дозволено</p>\n","urlObject":{"path":["auth","login-with-google"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"a233af7d-d570-4ccf-8cca-1a041b7e0a9b","name":"loginWithGoogle","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImIxYTgyNTllYjA3NjYwZWYyMzc4MWM4NWI3ODQ5YmZhMGExYzgwNmMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTc2MzEzNjExMDA3MjI3MjYxMDAiLCJlbWFpbCI6InZhZGltYmFyYW5pdnNreTgzQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiTXc0WFl3Zjh4WUNYMTZHM29Hb2VXUSIsIm5hbWUiOiLQkdCw0YDQsNC90ZbQstGB0YzQutC40Lkg0JLQsNC00LjQvCIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS0vQU9oMTRHaTJoUnBQU2xDaHFlNGRGdW04WGNyYy1hbURBZHhfSDF6TkdUUlQyZz1zOTYtYyIsImdpdmVuX25hbWUiOiLQkdCw0YDQsNC90ZbQstGB0YzQutC40LkiLCJmYW1pbHlfbmFtZSI6ItCS0LDQtNC40LwiLCJsb2NhbGUiOiJ1ayIsImlhdCI6MTY1MjQ1MDk1MywiZXhwIjoxNjUyNDU0NTUzfQ.x4U-t8bfsaRCw6q0LGHo--tLXSUQ6An50v937iaFECw2eBvFC5CI5QYlMLp2Nw56AtRryoWNGmPaBB3iyPFaHg1D_Fw5ZaciWZRKK0uMzTYX6EvC7d1X2xFhjkW4n1gYzP5scbDXvKYj22wk2IPnYlnMhp82Y5RZFzk0RR4Jn8RCeXVYdkbb7l6cudlZa4t-LsW_0Dnkop0vx6bo0FjRr3kzP0y5bKONmWOpbnQYZ9MdgN2M3n8NAhfMWldREod-z4dD2LanLe-7umFw0VJGVNlETzneIyWTF0LefOvw8oFP7QYuLGnNrjzyEGixCFcwd_TO_KSS4zYxuDEYpFTlCw\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/login-with-google"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4a05dcf1-cd35-4524-8cd1-01a0477dd10c","name":"loginWithGoogle","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQzMzJhYjU0NWNjMTg5ZGYxMzNlZmRkYjNhNmM0MDJlYmY0ODlhYzIiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI2NjAyMDgyNzMyMzItb3FvN2YxbXVzamIxam44cWlqczM0cmx0bTk5aGM4NTIuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTc2MzEzNjExMDA3MjI3MjYxMDAiLCJlbWFpbCI6InZhZGltYmFyYW5pdnNreTgzQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiZWJQeEI3cFc1dkhSQ21sRnRLMDBQQSIsIm5hbWUiOiLQkdCw0YDQsNC90ZbQstGB0YzQutC40Lkg0JLQsNC00LjQvCIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS0vQU9oMTRHaTJoUnBQU2xDaHFlNGRGdW04WGNyYy1hbURBZHhfSDF6TkdUUlQyZz1zOTYtYyIsImdpdmVuX25hbWUiOiLQkdCw0YDQsNC90ZbQstGB0YzQutC40LkiLCJmYW1pbHlfbmFtZSI6ItCS0LDQtNC40LwiLCJsb2NhbGUiOiJ1ayIsImlhdCI6MTY1MDY0MjYzMywiZXhwIjoxNjUwNjQ2MjMzfQ.BXMTE_2O72iXxU40olp4Ew-2BD5QT-oKiaDvzoKqxC4r5QlkT6sowL9fYqQrwMHDYqfSXEJGnOMCaNjHMAa5tsFx1RxukmIsurswVRi1UxNyvzix3my6vGdngYOtzH-jJMjcHFCdQOpaJ1NGsKAChYUw4UzoGdR-EZie-vyJeyTH_ZXKSTEWwWfjCzWgWCxfwjdkaumAB28Kvytul_UGk1oNWc-b7scFEG7BMu5cpgawKpno4TVxMkyceOtBpSjrgk-zocuAgH6DNcvKWGqD4vJf4LCnFigicWMV3h2t45q0LtrPOpGewFQRz60dvGGpdDFFCCO9fLDn1SWUTcmi5g\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/login-with-google"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"84642e68-cf4f-46c7-9653-60ecf6bdfb3f"},{"name":"logout","id":"51577399-fcfe-43ca-af2d-602afef05c0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://used-startup-ideas.onrender.com/auth/logout","urlObject":{"path":["auth","logout"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"8ffddaef-5bb2-4eaf-96d7-f5a5595351d5","name":"local","originalRequest":{"method":"POST","header":[],"url":"https://used-startup-ideas.onrender.com/auth/logout"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"f8621de0-48ac-417d-a7ae-29fda53952da","name":"online","originalRequest":{"method":"POST","header":[],"url":"https://unamour-server.herokuapp.com/auth/logout"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"51577399-fcfe-43ca-af2d-602afef05c0a"},{"name":"loginWithEmailAndPassword","id":"04ac4274-562d-4351-9366-5260c87f9488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\":\"1234\",\r\n    \"emailOrName\": \"admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/auth/login","urlObject":{"path":["auth","login"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"04ac4274-562d-4351-9366-5260c87f9488"}],"id":"00dab2f5-4f36-4bc1-91e3-b647c95b33a1","_postman_id":"00dab2f5-4f36-4bc1-91e3-b647c95b33a1","description":""},{"name":"users","item":[{"name":"getAllUsers","id":"6de344c8-5009-4f9b-8ab5-741f56d9303f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/user/all","urlObject":{"path":["user","all"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6de344c8-5009-4f9b-8ab5-741f56d9303f"},{"name":"getCurrentUser","id":"65035b32-c540-4a51-83c0-780db7607cd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/user/one/current","urlObject":{"path":["user","one","current"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"65035b32-c540-4a51-83c0-780db7607cd6"},{"name":"getAllInactiveUsers","id":"68fc293c-6b7f-46f7-b0d8-f25ce7479c4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/user/inactive/all","urlObject":{"path":["user","inactive","all"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"68fc293c-6b7f-46f7-b0d8-f25ce7479c4c"},{"name":"setAvatar","id":"366828b0-5139-41d9-96bf-5e87792a1537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"/C:/Users/Admin/Pictures/overcome-your-weaknesses-and-become-stronger-gymquotes.jpg"}]},"url":"https://used-startup-ideas.onrender.com/user/set-avatar?","urlObject":{"path":["user","set-avatar"],"host":["https://used-startup-ideas.onrender.com"],"query":[{"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"366828b0-5139-41d9-96bf-5e87792a1537"}],"id":"0c3f7cd7-3a5e-4b82-b2ac-5dd946030897","_postman_id":"0c3f7cd7-3a5e-4b82-b2ac-5dd946030897","description":""},{"name":"payment","item":[{"name":"receivePaymentWayforpay","id":"12855b85-fa84-4cd3-8ee0-2ca209d5adaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"hi","value":"{\"hell\": \"home\"}","type":"text"},{"key":"bye","value":"byelo","type":"text"}]},"url":"https://used-startup-ideas.onrender.com/checkout/receive-payment-wayforpay","description":"<p>Відсилається зі сторони Wayforpay. Містить номер ордера, підпис, сплачену суму і тд</p>\n","urlObject":{"path":["checkout","receive-payment-wayforpay"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"12855b85-fa84-4cd3-8ee0-2ca209d5adaa"},{"name":"getAllOrders","id":"0403e1a8-07be-4221-af57-c2a4cecccff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/title/all-orders","urlObject":{"path":["title","all-orders"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0403e1a8-07be-4221-af57-c2a4cecccff7"},{"name":"getUserOrders","id":"95faa633-217f-49bc-8dab-21dce088c24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"95faa633-217f-49bc-8dab-21dce088c24d"},{"name":"getOrder","id":"47535175-a04e-4282-9674-43f4017b755a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/title/spins-order/63bd4ca6c98a4c57e3536dda","urlObject":{"path":["title","spins-order","63bd4ca6c98a4c57e3536dda"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"47535175-a04e-4282-9674-43f4017b755a"}],"id":"4cba4a1f-ab3a-47a0-b171-41729a5ad303","_postman_id":"4cba4a1f-ab3a-47a0-b171-41729a5ad303","description":""},{"name":"posts","item":[{"name":"likePost","id":"2ab0e20b-a484-4f4e-8a37-3ffd478171b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/post/one/6398e27ae4f3ee9e5b41dc20/like","urlObject":{"path":["post","one","6398e27ae4f3ee9e5b41dc20","like"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ab0e20b-a484-4f4e-8a37-3ffd478171b4"},{"name":"addPost","id":"38537fa1-7131-4b94-9033-b63026d9606e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"website\": \"usedideas.netlify.app\",\r\n  \"tags\": [\"social\"],\r\n  \"isImageNeeded\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/post/create-post","urlObject":{"path":["post","create-post"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"38537fa1-7131-4b94-9033-b63026d9606e"},{"name":"getAllPosts","id":"432f3249-d4e1-4933-af6c-cf568226688c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"432f3249-d4e1-4933-af6c-cf568226688c"},{"name":"getPost","id":"d70c82f5-2b5a-4d52-aa33-47e51979a4c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/post/one/63933f4033ee1bcaaa51b213","urlObject":{"path":["post","one","63933f4033ee1bcaaa51b213"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d70c82f5-2b5a-4d52-aa33-47e51979a4c9"},{"name":"deleteAllPosts","id":"c294ea6c-7438-48db-9b6a-a4c6e6c488ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://used-startup-ideas.onrender.com/post/all","urlObject":{"path":["post","all"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c294ea6c-7438-48db-9b6a-a4c6e6c488ca"},{"name":"deletePost","id":"4a45eaa8-e41f-4830-9ff7-3923d1286fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://used-startup-ideas.onrender.com/post/one/63c088461bb31a07ea6c8bc4","urlObject":{"path":["post","one","63c088461bb31a07ea6c8bc4"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a45eaa8-e41f-4830-9ff7-3923d1286fae"}],"id":"5c761ab8-03fc-4d39-b0f2-e03ad4cfded8","_postman_id":"5c761ab8-03fc-4d39-b0f2-e03ad4cfded8","description":""},{"name":"title","item":[{"name":"setSpinPrice","id":"c8854ee2-a236-4980-bb55-d2587be74bbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"spinPrice\": 2.5\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/settings/set-spin-price","description":"<p>Для адміна</p>\n","urlObject":{"path":["settings","set-spin-price"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8854ee2-a236-4980-bb55-d2587be74bbf"},{"name":"receiveRandomTitle","id":"506dc9de-b58c-4511-ba6b-0c2774c7a424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/title/receive-random-title","description":"<p>\"Крутити рулетку\"</p>\n","urlObject":{"path":["title","receive-random-title"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"506dc9de-b58c-4511-ba6b-0c2774c7a424"}],"id":"3313657c-ddd5-4d28-a9aa-0338a708bcde","_postman_id":"3313657c-ddd5-4d28-a9aa-0338a708bcde","description":""},{"name":"reward","item":[{"name":"askForReward","id":"6af8cedf-5ea2-48b5-972c-727b1693c8c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cardNumber\": \"5375411414987953\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/reward/ask-for-reward","description":"<p>Якщо всі завдання виконано, відіслати 50 грн на вказану карту</p>\n","urlObject":{"path":["reward","ask-for-reward"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6af8cedf-5ea2-48b5-972c-727b1693c8c1"},{"name":"askForReward locally","id":"90df645c-660e-4afa-9769-629001907fc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cardNumber\": \"5375411414987953\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/reward/ask-for-reward","description":"<p>Якщо всі завдання виконано, відіслати 50 грн на вказану карту</p>\n","urlObject":{"protocol":"http","port":"5000","path":["reward","ask-for-reward"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"90df645c-660e-4afa-9769-629001907fc2"},{"name":"whitelistUsers","id":"58f81865-d522-4f8b-bd02-cbc37e180ae0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    \"\"\r\n]","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/settings/add-whitelisted-users","description":"<p>Для адміна</p>\n","urlObject":{"path":["settings","add-whitelisted-users"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"9b82a7c2-275c-4e68-9465-accfad395b7d","name":"whitelistUsers","originalRequest":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/settings/add-whitelisted-users"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"58f81865-d522-4f8b-bd02-cbc37e180ae0"},{"name":"unlistUsers","id":"26828d0f-48e5-4360-8b0b-b69d7037b1bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    \"\"\r\n]","options":{"raw":{"language":"json"}}},"url":"https://used-startup-ideas.onrender.com/settings/remove-whitelisted-users","urlObject":{"path":["settings","remove-whitelisted-users"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"5b9f333d-22c0-461a-8efd-d4481693457a","name":"whitelistUsers","originalRequest":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/settings/add-whitelisted-users"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"26828d0f-48e5-4360-8b0b-b69d7037b1bc"}],"id":"bdbbf952-70c3-450a-bc31-02dabe168986","_postman_id":"bdbbf952-70c3-450a-bc31-02dabe168986","description":""},{"name":"getProjectSettings","id":"dc34690e-d652-4131-b615-483a66ad6b03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/settings","description":"<p>Для адміна, щоб дізнатися налаштування. Напр. завайтлищені імена</p>\n","urlObject":{"path":["settings"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc34690e-d652-4131-b615-483a66ad6b03"},{"name":"test","id":"318ad9de-fbb3-451e-aedc-ac1c437c2d7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://used-startup-ideas.onrender.com/test","urlObject":{"path":["test"],"host":["https://used-startup-ideas.onrender.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"318ad9de-fbb3-451e-aedc-ac1c437c2d7a"},{"name":"setSpinPrice","id":"03e6e082-8a00-4259-a55b-a6e03f9995b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"03e6e082-8a00-4259-a55b-a6e03f9995b6"}],"event":[{"listen":"prerequest","script":{"id":"6a8094bd-980e-4673-8c0e-9439ba7b4b17","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a49087c2-4b35-4d06-9db7-af2369ed8d00","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://used-startup-ideas.onrender.com","type":"string"}]}