{"info":{"_postman_id":"a318a489-7659-4eba-8c98-3e321edddce2","name":"ArcadeArray","description":"<html><head></head><body><p><strong>Arcade Array</strong>, is an interactive platform designed for gamers to <strong>discover, wishlist, and connect</strong> with friends. Users can <strong>browse games</strong>, view details like <strong>developer, release date, and platforms</strong>, and add them to their <strong>wishlist</strong> for easy tracking. The platform also includes a <strong>social feature</strong> where users can <strong>send, accept, and reject friend requests</strong>, enhancing the gaming community experience. With a seamless <strong>signup/login system</strong>, personalized <strong>user profiles</strong>, and an intuitive <strong>homepage dashboard</strong>, Arcade Array aims to provide a fun and engaging space for gamers to explore and manage their favorite games effortlessly.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39216508","collectionId":"a318a489-7659-4eba-8c98-3e321edddce2","publishedId":"2sAYX2Miri","public":true,"customColor":{"top-bar":"09152B","right-sidebar":"303030","highlight":"011627"},"publishDate":"2025-01-30T11:06:02.000Z"},"item":[{"name":"signup_page","item":[{"name":"user_signup","id":"2ad2620b-53c0-49aa-8d68-b19c9ed58594","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Ava\",\r\n    \"lastname\": \"Rodriguez\",\r\n    \"username\": \"ava_rodriguez55\",\r\n    \"email\": \"ava.rodriguez@example.com\",\r\n    \"password\": \"AvaRodriguez#55\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/auth/signup","description":"<p>post request for sending friend request</p>\n","urlObject":{"protocol":"https","path":["api","auth","signup"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ad2620b-53c0-49aa-8d68-b19c9ed58594"},{"name":"signup_with_auth0","id":"d66dd7b3-d029-4667-8964-9c0e7ae5d052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"firstname\": \"Krish\",\r\n  \"lastname\": \"Shyara\",\r\n  \"username\": \"krish123\",\r\n  \"email\": \"krishshyara25@gmail.com\",\r\n  \"profilePicture\": \"https://dummyurl.com/profile.jpg\",\r\n  \"password\": \"googleAuth\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/auth/auth0signup","urlObject":{"protocol":"https","path":["api","auth","auth0signup"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d66dd7b3-d029-4667-8964-9c0e7ae5d052"}],"id":"9a2a9525-ba86-4be3-b49e-1ce934e4fba2","_postman_id":"9a2a9525-ba86-4be3-b49e-1ce934e4fba2","description":""},{"name":"login_page","item":[{"name":"user_login","id":"eb915bab-3367-4918-a7fd-f5a641b10e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"newKrishShyara\",\r\n    \"password\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/auth/login","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb915bab-3367-4918-a7fd-f5a641b10e4b"}],"id":"15d2a25a-9357-4db1-a6b6-f3102330f29e","description":"<p>A <strong>Sign-In Page</strong> allows users to log in by entering their <strong>email/username</strong> and <strong>password</strong>. It typically includes a <strong>Sign In</strong> button, options for <strong>social media login</strong>, and a <strong>Sign Up</strong> option for new users. The page should be simple, user-friendly, and error messages should guide users if credentials are incorrect.</p>\n","_postman_id":"15d2a25a-9357-4db1-a6b6-f3102330f29e"},{"name":"Friends_page","item":[{"name":"search_user","event":[{"listen":"test","script":{"id":"18404a74-6ea2-44b0-bc5a-c6dfd71acaa1","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>ID</th>\r","        <th>First Name</th>\r","        <th>Last Name</th>\r","        <th>Username</th>\r","        <th>Email</th>\r","        <th>Password</th>\r","        <th>Friend Requests</th>\r","        <th>Friends</th>\r","    </tr>\r","    \r","    {{#each response}}\r","        <tr>\r","            <td>{{_id}}</td>\r","            <td>{{firstname}}</td>\r","            <td>{{lastname}}</td>\r","            <td>{{username}}</td>\r","            <td>{{email}}</td>\r","            <td>{{password}}</td>\r","            <td>{{friendRequests}}</td>\r","            <td>{{friends}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"af4ced95-d6f0-4749-b8bd-0c7c174d9ac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/friends/search?query=krish","description":"<p>get request for search user</p>\n","urlObject":{"protocol":"https","path":["api","friends","search"],"host":["arcade-array","onrender","com"],"query":[{"key":"query","value":"krish"}],"variable":[]}},"response":[],"_postman_id":"af4ced95-d6f0-4749-b8bd-0c7c174d9ac7"},{"name":"friend-request","id":"64c65c51-2d75-45e8-b93d-d5d1d563f3d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"679102308251b319dae38c44\",\r\n  \"targetUserId\": \"6790bbdb906acf5effdaabed\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/friends/friend-request","description":"<p>post request for sending friend request</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","friends","friend-request"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"64c65c51-2d75-45e8-b93d-d5d1d563f3d6"},{"name":"all_users","id":"1ee986dd-b8a9-4ada-aebf-cbb1d22b62fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/friends/users","urlObject":{"protocol":"https","path":["api","friends","users"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ee986dd-b8a9-4ada-aebf-cbb1d22b62fd"},{"name":"user's_friends","id":"f1f41a4f-6c72-469b-8682-7fd37aa5991f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/friends/user_friends/:userId","urlObject":{"protocol":"https","path":["api","friends","user_friends",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"}]}},"response":[],"_postman_id":"f1f41a4f-6c72-469b-8682-7fd37aa5991f"},{"name":"remove-friend","id":"2646ea0f-2d09-4306-9e1a-9b537ff6273f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"679102308251b319dae38c44\",\r\n  \"friendId\": \"6790bbdb906acf5effdaabed\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/friends/remove-friend","urlObject":{"protocol":"https","path":["api","friends","remove-friend"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2646ea0f-2d09-4306-9e1a-9b537ff6273f"}],"id":"42d9b3de-dc29-4187-8826-d919f3a85cf0","description":"<p>The <strong>Friends Page</strong> allows users to send and manage <strong>friend requests</strong>. Users can search for others to send requests, view pending requests, and choose to <strong>accept</strong> or <strong>reject</strong> them. Accepted requests add the user to their <strong>friends list</strong>, enabling social interaction within the platform.</p>\n","_postman_id":"42d9b3de-dc29-4187-8826-d919f3a85cf0"},{"name":"Home_page","item":[{"name":"all games","id":"aefb2653-dce5-4acc-aa7c-bf20f71fee70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games","urlObject":{"protocol":"https","path":["api","games"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aefb2653-dce5-4acc-aa7c-bf20f71fee70"},{"name":"search_game","id":"2f614f29-a65f-450a-b6b6-1470000fb4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games/search?query=Grand Theft Auto V","urlObject":{"protocol":"https","path":["api","games","search"],"host":["arcade-array","onrender","com"],"query":[{"key":"query","value":"Grand Theft Auto V"}],"variable":[]}},"response":[],"_postman_id":"2f614f29-a65f-450a-b6b6-1470000fb4b3"},{"name":"add to wishlist","id":"f285f969-3b81-490b-b90b-2f7601c7f911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"6790bbdb906acf5effdaabed\",\r\n  \"gameId\": \"679b1436a0c14718975c98c4\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/games/add","description":"<p>post request for add games to wishlist</p>\n","urlObject":{"protocol":"https","path":["api","games","add"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f285f969-3b81-490b-b90b-2f7601c7f911"},{"name":"get user's wishlist","id":"cd7a905c-be12-43fd-a047-10f7d1d3c15b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games/wishlist/:userId","description":"<p>getting user's wishlist</p>\n","urlObject":{"protocol":"https","path":["api","games","wishlist",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"}]}},"response":[],"_postman_id":"cd7a905c-be12-43fd-a047-10f7d1d3c15b"},{"name":"user profile","id":"a181989b-815c-446c-8780-09be4a8534c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games/user/details/:userId","description":"<p>getting user's username and email</p>\n","urlObject":{"protocol":"https","path":["api","games","user","details",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"}]}},"response":[],"_postman_id":"a181989b-815c-446c-8780-09be4a8534c9"},{"name":"search_game_by_ID","id":"02af3a2f-17de-4ef8-bb6e-306743fe9e05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games/games/:id","urlObject":{"protocol":"https","path":["api","games","games",":id"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"679b1436a0c14718975c98c4","key":"id"}]}},"response":[],"_postman_id":"02af3a2f-17de-4ef8-bb6e-306743fe9e05"},{"name":"removefromwishlist","id":"913cc8c4-f685-4582-a848-817e6c519e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/games/remove/:userId/:gameId","urlObject":{"protocol":"https","path":["api","games","remove",":userId",":gameId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"},{"type":"any","value":"679b1436a0c14718975c98c4","key":"gameId"}]}},"response":[],"_postman_id":"913cc8c4-f685-4582-a848-817e6c519e51"}],"id":"f9d64596-8727-4e58-9993-43747cccd752","description":"<p>The <strong>Homepage</strong> route provides a welcome message, quick access to key features like <strong>Games</strong>, <strong>Friends</strong>, and <strong>Wishlist</strong>, and displays important user information such as user details or <strong>game recommendations</strong>. It serves as a dashboard to guide users to their main tasks.</p>\n","_postman_id":"f9d64596-8727-4e58-9993-43747cccd752"},{"name":"Notification_page","item":[{"name":"get friends request count","id":"8064a52a-ec6d-4984-958a-2801c7c05669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/friends/requests_count/:userId","description":"<p>get request for getting friends requests</p>\n","urlObject":{"protocol":"https","path":["api","friends","requests_count",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"}]}},"response":[],"_postman_id":"8064a52a-ec6d-4984-958a-2801c7c05669"},{"name":"get friends request","id":"5e3e9173-7f56-4b18-b304-e1f617d0c42d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/friends/requests/:userId","urlObject":{"protocol":"https","path":["api","friends","requests",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"6790bbdb906acf5effdaabed","key":"userId"}]}},"response":[],"_postman_id":"5e3e9173-7f56-4b18-b304-e1f617d0c42d"},{"name":"accept-friend-request","id":"e99651c9-f25c-4962-be98-2a35232ea001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"679102308251b319dae38c44\",\r\n  \"senderId\": \"6790bbdb906acf5effdaabed\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/friends/accept-friend-request","description":"<p>post request for accepting friend request</p>\n","urlObject":{"protocol":"https","path":["api","friends","accept-friend-request"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e99651c9-f25c-4962-be98-2a35232ea001"},{"name":"reject-friend-request","id":"86f151d9-99ed-4e16-b53e-864185ab4aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"679102308251b319dae38c44\",\r\n  \"senderId\": \"6797122aa66d5ac5f426bbcd\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/friends/reject-friend-request","description":"<p>post request for rejecting friend request</p>\n","urlObject":{"protocol":"https","path":["api","friends","reject-friend-request"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"86f151d9-99ed-4e16-b53e-864185ab4aee"}],"id":"948aadd7-7583-44eb-bda5-5f2de4f19432","description":"<p>The <strong>Notification Page</strong> displays incoming friend requests, allowing users to accept or reject them. It provides basic information about the sender and updates in real time, helping users manage their friend requests easily.</p>\n","_postman_id":"948aadd7-7583-44eb-bda5-5f2de4f19432"},{"name":"Payment","item":[{"name":"New Request","id":"087a3258-8f72-484c-958b-8ace4c2c1916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 10000\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/payment/create-payment-intent","urlObject":{"protocol":"https","path":["payment","create-payment-intent"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"087a3258-8f72-484c-958b-8ace4c2c1916"}],"id":"7898c06c-90b9-4dc2-9dcc-afe882ad3395","_postman_id":"7898c06c-90b9-4dc2-9dcc-afe882ad3395","description":""},{"name":"Setting_page","item":[{"name":"update_profile","id":"05ab7117-3d67-478b-b845-db4046541b90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"profilePicture","type":"file","uuid":"99fdb8c0-46ca-45d5-8c6b-0cfc6d6fc973","src":"/C:/Users/OMEN/Downloads/20250215_181134_11zon.jpg"},{"key":"bio","value":"\"Arcade Lover 🔥🎯\"","type":"text","uuid":"45acbec4-5888-4977-85aa-1424fc23dae0"}]},"url":"https://arcade-array.onrender.com/api/auth/profile/6790bbdb906acf5effdaabed","urlObject":{"protocol":"https","path":["api","auth","profile","6790bbdb906acf5effdaabed"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"05ab7117-3d67-478b-b845-db4046541b90"},{"name":"UserDetails","id":"0559323c-0a38-4b92-8495-ae064c97eaf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://arcade-array.onrender.com/api/games/user/details/6790bbdb906acf5effdaabed","urlObject":{"protocol":"https","path":["api","games","user","details","6790bbdb906acf5effdaabed"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0559323c-0a38-4b92-8495-ae064c97eaf0"},{"name":"change_username","id":"070028c6-8b5a-4eab-bd7f-3a1e397da6fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer lqfhTlsbmTP1I826zKVLjg4439ysu1rqctuXaPOZNC0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"krishshyara\",\r\n  \"bio\": \"I love gaming\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/auth/update-profile/6790bbdb906acf5effdaabed","urlObject":{"protocol":"https","path":["api","auth","update-profile","6790bbdb906acf5effdaabed"],"host":["arcade-array","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"070028c6-8b5a-4eab-bd7f-3a1e397da6fd"},{"name":"profile-visibility","id":"1d9d9af8-2bbc-4026-ab47-be4610da4812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profileVisibility\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://arcade-array.onrender.com/api/auth/update-profile-visibility/:userId","urlObject":{"protocol":"https","path":["api","auth","update-profile-visibility",":userId"],"host":["arcade-array","onrender","com"],"query":[],"variable":[{"type":"any","value":"67a45138381228e2093d47ec","key":"userId"}]}},"response":[],"_postman_id":"1d9d9af8-2bbc-4026-ab47-be4610da4812"}],"id":"c0cfbc1f-2337-44b9-895c-192f5531518b","_postman_id":"c0cfbc1f-2337-44b9-895c-192f5531518b","description":""}]}